From 7a4b90ef3815aa227236ec9b95540233db8ac3b3 Mon Sep 17 00:00:00 2001 From: Mikko Rapeli Date: Wed, 23 Apr 2025 11:46:23 +0300 Subject: [PATCH] efi-uki-bootdisk.wks.in: reduce ESP boot partition size 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 Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- scripts/lib/wic/canned-wks/efi-uki-bootdisk.wks.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lib/wic/canned-wks/efi-uki-bootdisk.wks.in b/scripts/lib/wic/canned-wks/efi-uki-bootdisk.wks.in index 1ea9c8a845e..67cc41a2418 100644 --- a/scripts/lib/wic/canned-wks/efi-uki-bootdisk.wks.in +++ b/scripts/lib/wic/canned-wks/efi-uki-bootdisk.wks.in @@ -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/ -- 2.47.2