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

Clarify usage of genimage.bbclass #153

Merged
merged 2 commits into from
Sep 9, 2024
Merged

Conversation

ejoerns
Copy link
Member

@ejoerns ejoerns commented Sep 7, 2024

  • Note that a separate recipe is required for genimage.bbclass
  • Add check if genimage.bclass is inherited in a rootfs image recipe

Related to #152

In contrast to wic, the genimage.bbclass is meant to be used from a
separate recipe and should thus not be inherited from a rootfs image
recipe.

A proper check for this is to verify whether the 'image' class is
inherited and abort parsing with an explicit error message.

Signed-off-by: Enrico Jörns <[email protected]>
@ejoerns ejoerns merged commit ac2be76 into pengutronix:master Sep 9, 2024
2 checks passed
@ejoerns ejoerns deleted the clarify-usage branch September 9, 2024 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants