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 #211

Closed valentindavid closed 10 months ago

valentindavid commented 11 months ago

Same as #176, but for main 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.