]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
efi-uki-bootdisk.wks.in: reduce ESP boot partition size
authorMikko Rapeli <mikko.rapeli@linaro.org>
Wed, 23 Apr 2025 08:46:23 +0000 (11:46 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 29 Apr 2025 08:57:55 +0000 (09:57 +0100)
This sample ESP partition is used mostly for testing purposes.
It's not expected to host multiple UKI binaries for example.
Thus reduce size from 500 Mb to size of needed boot binaries
72 Mb plus around 20% free space 88Mb. This is enough for
all test cases and fits to RAM when using PMEM memory based
block device on real target boards with just a few Gb of RAM.

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/wic/canned-wks/efi-uki-bootdisk.wks.in

index 1ea9c8a845ebbb85f74134d82f200c7c4ff99e22..67cc41a2418cdc2db234db9152b86a8c6695eb02 100644 (file)
@@ -1,3 +1,3 @@
 bootloader --ptable gpt --timeout=5
-part /boot --source bootimg-efi --sourceparams="loader=${EFI_PROVIDER}" --label boot --active --align 1024 --use-uuid --part-name="ESP" --part-type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B --fixed-size 512M
+part /boot --source bootimg-efi --sourceparams="loader=${EFI_PROVIDER}" --label boot --active --align 1024 --use-uuid --part-name="ESP" --part-type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B --overhead-factor=1
 part / --source rootfs --fstype=ext4 --label root --align 1024 --exclude-path boot/