Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bundle.bbclass: support manifest generation for artifacts #337

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jluebbe
Copy link
Member

@jluebbe jluebbe commented Aug 7, 2024

This is useful only in combination with the upcoming support for artifacts, but shouldn't hurt the standard case for now.

classes-recipe/bundle.bbclass Outdated Show resolved Hide resolved
@@ -291,6 +297,8 @@ def write_manifest(d):
manifest.write("hooks=%s\n" % slotflags.get('hooks'))
if 'adaptive' in slotflags:
manifest.write("adaptive=%s\n" % slotflags.get('adaptive'))
if 'convert' in slotflags:
manifest.write("convert=%s\n" % slotflags.get('convert'))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't this require to run do_bundle as fakeroot task, too?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably, but that needs some more testing. This can't break existing use-cases though.

classes-recipe/bundle.bbclass Show resolved Hide resolved
@ejoerns
Copy link
Member

ejoerns commented Nov 15, 2024

I've added the changes that I needed to make this work. I don't think it makes much sense to merge this without having the pseudo/fakeroot setup working correctly. Except for the documentation, the changes are only related to conversion for adaptive updates anyway.

What would still be needed probably is to remove the now potentially useless pseudo handling for casync and check for potential breakage of use cases due to the added fakeroot to do_bundle().

This is useful only in combination with the upcoming support for
artifacts, but shouldn't hurt the standard case for now.

Signed-off-by: Jan Luebbe <[email protected]>
Signed-off-by: Enrico Jörns <[email protected]>
@ejoerns
Copy link
Member

ejoerns commented Nov 15, 2024

Rebased onto master to send this through the CI workflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants