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

bootspec.bbclass: Refactoring, Fixes and Documentation #138

Merged
merged 5 commits into from
Jun 7, 2024

Conversation

ejoerns
Copy link
Member

@ejoerns ejoerns commented Jun 6, 2024

  • Add documentation to the header
  • use [vardeps] to fix rebuilds when changing BOOTSPEC_ options
  • refactor code for BOOTSPEC_OPTIONS default
  • minor cleanups

There's no need to use d.expand() for a single variable.
Align it with the other d.getVar() calls.

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Otherwise, changes to these will not trigger rebuilds and thus the
result will not end up in the generated rootfs.

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
It will be used in for loop only and always gets a value assigned there.

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Make it a python method that can be called from the variable
assignment instead of using anonymous python with an intermediate
variable.

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
@Emantor Emantor merged commit f1386c1 into pengutronix:master Jun 7, 2024
2 checks passed
@ejoerns
Copy link
Member Author

ejoerns commented Jun 7, 2024

Backported to scarthgap.

@ejoerns ejoerns deleted the bootspec-fixes branch June 7, 2024 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants