diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-01-26 17:07:48 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-01-26 21:57:07 +0000 |
commit | 16e0b8a8fc36f5525b1801888851958f0dbe84c2 (patch) | |
tree | 34b447bf574bca1ad6a0b205e4e6e8d0604d5fe1 /scripts/lib/wic/canned-wks/efi-bootdisk.wks.in | |
parent | c15c59c88d229e35eeac1ed948c84168633e7cb1 (diff) | |
download | openembedded-core-16e0b8a8fc36f5525b1801888851958f0dbe84c2.tar.gz |
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 <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic/canned-wks/efi-bootdisk.wks.in')
-rw-r--r-- | scripts/lib/wic/canned-wks/efi-bootdisk.wks.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/wic/canned-wks/efi-bootdisk.wks.in b/scripts/lib/wic/canned-wks/efi-bootdisk.wks.in index 7300e65e32..2fd286ff98 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/ |