From fc255781e56bbddf3859e8941e4a3e93eee637fa Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 9 Sep 2016 09:41:24 +0200 Subject: add extra space b/c of build issue (mga#18316) --- images/make_boot_img | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'images/make_boot_img') diff --git a/images/make_boot_img b/images/make_boot_img index cde1b22b0..91ce33d57 100755 --- a/images/make_boot_img +++ b/images/make_boot_img @@ -358,7 +358,7 @@ sub boot_iso { _ "cp -r /boot/grub2/{fonts,themes} .boot_iso/EFI/BOOT/"; _ "cp -f grub2.theme .boot_iso/EFI/BOOT/themes/maggy/theme.txt"; # create efiboot.img, matching 63 cylinders from new dosfstools - my $efisize = ceil(ceil(chomp_(`du -s -k .boot_iso/EFI`) / 1024) * 1024 / 63) * 63; + my $efisize = ceil(ceil(chomp_(`du -s -k .boot_iso/EFI`) / 1024 + 32) * 1024 / 63) * 63; my $efi_img = ".boot_iso/isolinux/efiboot.img"; _ "/sbin/mkdosfs -F12 -C $efi_img $efisize"; _ "mcopy -s -i $efi_img .boot_iso/EFI ::"; -- cgit v1.2.1