From: Richard Purdie Date: Thu, 26 Jan 2023 17:07:48 +0000 (+0000) Subject: wic/efi-bootdisk.wks: Fix for 6.1 kernel versions X-Git-Tag: 2023-04-mickledore~693 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=16e0b8a8fc36f5525b1801888851958f0dbe84c2;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git wic/efi-bootdisk.wks: Fix for 6.1 kernel versions oe-selftest efibootpartition.GenericEFITest.test_boot_efi was failing for 6.1 kernels with: | ERROR: _exec_cmd: export PATH=[...] mcopy -i [...]/rootfs_boot.1.vfat -s [...]/rootfs1/* ::/ returned '1' instead of 0 | output: Disk full I believe we hit a file boundary size and having "0" overhead in the image meant the files couldn't be installed. Allow a small amount of overhead to avoid the error. Signed-off-by: Richard Purdie --- diff --git a/scripts/lib/wic/canned-wks/efi-bootdisk.wks.in b/scripts/lib/wic/canned-wks/efi-bootdisk.wks.in index 7300e65e32d..2fd286ff982 100644 --- a/scripts/lib/wic/canned-wks/efi-bootdisk.wks.in +++ b/scripts/lib/wic/canned-wks/efi-bootdisk.wks.in @@ -1,3 +1,3 @@ bootloader --ptable gpt -part /boot --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/boot --fstype=vfat --label boot --active --align 1024 --use-uuid --overhead-factor 1.0 +part /boot --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/boot --fstype=vfat --label boot --active --align 1024 --use-uuid --overhead-factor 1.1 part / --source rootfs --fstype=ext4 --label root --align 1024 --exclude-path boot/