snapcore / core-initrd

initrd implementation in ubuntu core
https://ubuntu.com/core/docs
GNU General Public License v3.0
9 stars 27 forks source link

Add mkfs.vfat for u-boot gadgets #212

Closed valentindavid closed 10 months ago

valentindavid commented 11 months ago

Same as https://github.com/snapcore/core-initrd/pull/176, but for core22 branch.

U-boot needs to save boot.sel back to the boot partition. Because ext4 is not safe to write on some U-Boot builds due to journal corruption, we need to allow the gadget to create the boot partition as a vfat. Which means mkfs.vfat is required during installation.