From 5974d584c9b26b4501a14ff6e16ba5e01bb9d92d Mon Sep 17 00:00:00 2001 From: Jianfeng Liu Date: Mon, 22 Sep 2025 22:42:45 +0800 Subject: [PATCH] extensions: grub: increase UEFISIZE to 260M for UFS 4K sector size --- extensions/grub.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/grub.sh b/extensions/grub.sh index 50e2d5680..fb64beba8 100644 --- a/extensions/grub.sh +++ b/extensions/grub.sh @@ -19,7 +19,7 @@ function extension_prepare_config__prepare_grub_standard() { declare -g BOOTCONFIG="none" # To try and convince lib/ to not build or install u-boot. unset BOOTSOURCE # To try and convince lib/ to not build or install u-boot. declare -g IMAGE_PARTITION_TABLE="gpt" # GPT partition table is essential for many UEFI-like implementations, eg Apple+Intel stuff. - declare -g UEFISIZE=256 # in MiB - grub EFI is tiny - but some EFI BIOSes ignore small too small EFI partitions + declare -g UEFISIZE=260 # in MiB - grub EFI is tiny - but some EFI BIOSes ignore small too small EFI partitions declare -g BOOTSIZE=0 # No separate /boot when using UEFI. declare -g CLOUD_INIT_CONFIG_LOCATION="${CLOUD_INIT_CONFIG_LOCATION:-/boot/efi}" # use /boot/efi for cloud-init as default when using Grub. declare -g EXTRA_BSP_NAME="${EXTRA_BSP_NAME}-grub" # Unique bsp name.