summaryrefslogtreecommitdiffstats
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
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)
-rw-r--r--images/NEWS2
-rwxr-xr-ximages/make_boot_img2
2 files changed, 3 insertions, 1 deletions
diff --git a/images/NEWS b/images/NEWS
index 7f17885a7..5dd862c6b 100644
--- a/images/NEWS
+++ b/images/NEWS
@@ -1,3 +1,5 @@
+- add extra space b/c of build issue (mga#18316)
+
Version 2.39 - 8 September 2016 by Thierry Vignaud
- fix colors in boot.iso's first screen (mga#18316)
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 ::";