rauc / meta-rauc

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

classes: bundle: Trust environment for "rauc convert" #203

Closed mschwan-phytec closed 2 years ago

mschwan-phytec commented 3 years ago

Trust the environment RAUC is executed in when converting bundles. This fixes the following error message:

initial check_bundle_access failed with: unable to find mounted device for bundle


I am keeping this PR as a draft for the moment, until https://github.com/rauc/rauc/pull/770 is merged.

ejoerns commented 3 years ago

Note: Blocked by https://github.com/rauc/meta-rauc/pull/203 and conflicts with #205.

mschwan-phytec commented 2 years ago

@ejoerns This PR can now be unblocked, as https://github.com/rauc/rauc/pull/770 was merged.

If applicable, please also merge this into honister.

ejoerns commented 2 years ago

@mschwan-phytec adding this to the rauc call would still require to have a RAUC release including this fix and meta-rauc being updated to this release.

mschwan-phytec commented 2 years ago

Of course, sorry for the noise. Was a bit over enthusiastic. :grimacing:

ejoerns commented 2 years ago

@mschwan-phytec now it seems you were a bit too unenthusiastic to rebase after release :grin:

mschwan-phytec commented 2 years ago

@ejoerns I did not rebase yet, because it still merges without conflicts. :wink: But nothing easier than that. :grin:

ejoerns commented 2 years ago

Thanks! Just to give me the good feeling that the tests might become green with the current release ;)

ejoerns commented 2 years ago

I've added some reasoning in the commit message to make it clearer why it is OK to use this option.

ejoerns commented 2 years ago

cherry-picked to honister branch

ejoerns commented 2 years ago

cherry-picked to dunfell branch