summaryrefslogtreecommitdiffstats
path: root/images/make_boot_img
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-09-09 09:41:24 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-09-09 09:41:24 +0200
commitfc255781e56bbddf3859e8941e4a3e93eee637fa (patch)
tree0078257d8b04384c6dd4275c86f0850449735d06 /images/make_boot_img
parenta8da74ad77244c0dc07c7645ac19e9573ac9b08e (diff)
downloaddrakx-fc255781e56bbddf3859e8941e4a3e93eee637fa.tar
drakx-fc255781e56bbddf3859e8941e4a3e93eee637fa.tar.gz
drakx-fc255781e56bbddf3859e8941e4a3e93eee637fa.tar.bz2
drakx-fc255781e56bbddf3859e8941e4a3e93eee637fa.tar.xz
drakx-fc255781e56bbddf3859e8941e4a3e93eee637fa.zip
add extra space b/c of build issue (mga#18316)
Diffstat (limited to 'images/make_boot_img')
-rwxr-xr-ximages/make_boot_img2
1 files changed, 1 insertions, 1 deletions
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 ::";