rauc / meta-rauc-community

Yocto/OpenEmbedded meta layer with examples for integration of RAUC, the embedded Linux A/B update framework
MIT License
50 stars 54 forks source link

meta-rauc-tegra: switch to using 'verity' bundle format #47

Closed ejoerns closed 1 year ago

ejoerns commented 1 year ago

The kernel configuration already enabled 'verity' support, but the bundle did not.

The 'verity' format is the successor of the legacy 'plain' format which is still supported by RAUC but should not be used for new projects.

Also note that only the 'verity' format allows using RAUC features as streaming, encryption and adaptive updates.

Signed-off-by: Enrico Jorns ejo@pengutronix.de

leon-anavi commented 1 year ago

Hi @ejoerns,

Thank you. The change looks good to me.

Thinking aloud, I am wondering whether it is worth explicitly to enable CONFIG_DM_VERITY in rauc.cfg kernel fragment because the other kernel configuration in the meta-tegra BSP layer may change over time. Anyway, it looks good and I will merge the GitHub pull request.

Thanks, Leon