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: fix variable expansion of RAUC_META_* varflags #336

Merged
merged 1 commit into from
Jul 25, 2024

Conversation

FederAndInk
Copy link
Contributor

variables assigned to RAUC_META_<section>[varflag] are not expanded anymore.

This is caused by getVarFlags not expanding variables by default, revert to using getVarFlag which does expand variables by default.

fix #335

partially revert changes introduced in ffba61f

@FederAndInk
Copy link
Contributor Author

@jluebbe here is the PR for #335, could this be backported to scarthgap too? it would be greatly appreciated

Variables assigned to `RAUC_META_<section>[varflag]` are not expanded
anymore. This is caused by `getVarFlags` not expanding variables by
default, revert to using `getVarFlag` which does expand variables by
default.

Fixes: rauc#335
Fixes: ffba61f ("bundle.bbclass: simplify varflag usage")
Signed-off-by: Ludovic Jozeau <ludovic.jozeau@scle.fr>
Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
@jluebbe
Copy link
Member

jluebbe commented Jul 25, 2024

I've force-pushed to align the commit message with our conventions.

@jluebbe jluebbe self-assigned this Jul 25, 2024
@jluebbe jluebbe enabled auto-merge (rebase) July 25, 2024 13:25
@FederAndInk
Copy link
Contributor Author

Alright, no problem, thanks

@jluebbe
Copy link
Member

jluebbe commented Jul 25, 2024

Backported to scarthgap.

@jluebbe
Copy link
Member

jluebbe commented Jul 25, 2024

Thanks for debugging and fixing this!

@FederAndInk
Copy link
Contributor Author

sure no problem :)

@jluebbe jluebbe merged commit 8fd3907 into rauc:master Jul 25, 2024
2 checks passed
@FederAndInk FederAndInk deleted the fix/rauc_meta_sections branch July 25, 2024 15:48
@ejoerns
Copy link
Member

ejoerns commented Sep 9, 2024

backported to kirkstone.

@ejoerns ejoerns added the kirkstone kirkstone release-related label Sep 9, 2024
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.

bundle: RAUC_META_mysection[metadata] isn't expending variables anymore (kirkstone -> scarthgap)
3 participants