rauc / meta-rauc

Yocto/Open Embedded meta layer for RAUC, the embedded Linux update framework
MIT License
158 stars 89 forks source link

feat(bundle.bbclass): simplify varflag usage #290

Closed Jarsop closed 9 months ago

Jarsop commented 9 months ago

In many case getVarFlag is used but slotflags coming from getVarFlags previous call in bitbake task (do_configure) it's already expanded. This improvement use slotflags. It simplify also the loop over RAUC_META_SECTIONS.

Jarsop commented 9 months ago

@ejoerns the second commit is to passing ci build, if required it can be cherry-picked to another branch to isolate the ci fix and drop from this branch history

ejoerns commented 9 months ago

@Jarsop Thanks! I have cherry-picked the CI fix on master (and slightly adapted the commit message).

Feel free to rebase your PRs

Jarsop commented 9 months ago

@ejoerns Perfect ! Did it. However it seems that rauc layer is no more compatible as this commit (3 hours ago) remove mickledore core layer compatibility. So we need to add nanbield compatibility to be able to compile on master branch...

Jarsop commented 9 months ago

The PR #291 update our layer.conf if needed

Jarsop commented 9 months ago

This is no more relevant as I merged and adapted the content in #289. So I close it