rauc / meta-rauc-community

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

use ext4 image in WKS configuration #54

Open jluebbe opened 1 year ago

jluebbe commented 1 year ago

With the current configuration, WKS will generate new file system images for both rootfs partitions: https://github.com/rauc/meta-rauc-community/blob/3d43459a7212003de02de0fc6b850cf374d8dec8/meta-rauc-qemux86/wic/qemux86-grub-efi.wks#L15-L16

These filesystems will have unnecessary differences to the ext4 generated directly from the image recipe via ext4 in IMAGE_FSTYPES, leading to less reuse during adaptive updates. Instead, the WKS file should reuse the existing ext4 image.