From d477c42ecbb27e335019ef5c676f483c7e0bb928 Mon Sep 17 00:00:00 2001 From: udeved Date: Wed, 29 Mar 2017 21:48:00 +0200 Subject: [PATCH] util-iso-boot: reduce efi.img size --- lib/util-iso-boot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util-iso-boot.sh b/lib/util-iso-boot.sh index 98b8d9d..4b54781 100644 --- a/lib/util-iso-boot.sh +++ b/lib/util-iso-boot.sh @@ -84,7 +84,7 @@ prepare_grub(){ cp ${data}/unicode.pf2 ${grub} cp -r ${data_live}/{locales,tz,video} ${grub} - local size=8M mnt="${mnt_dir}/efiboot" efi_img="$2/efi.img" + local size=4M mnt="${mnt_dir}/efiboot" efi_img="$2/efi.img" msg2 "Creating fat image of %s ..." "${size}" truncate -s ${size} "${efi_img}" mkfs.fat -n MISO_EFI "${efi_img}" &>/dev/null