summaryrefslogtreecommitdiffstats
path: root/images/make_boot_img
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2015-05-22 20:09:12 +0300
committerThomas Backlund <tmb@mageia.org>2015-05-22 20:09:12 +0300
commit9fd4e14e7a473ac1d83a60abe63a9100cb18cb6a (patch)
tree44476b51332e32c410f89c9ff1e232820c63c946 /images/make_boot_img
parent2b1e9ec1c5eafe67b0baa4926dcd7ab56f97d981 (diff)
downloaddrakx-9fd4e14e7a473ac1d83a60abe63a9100cb18cb6a.tar
drakx-9fd4e14e7a473ac1d83a60abe63a9100cb18cb6a.tar.gz
drakx-9fd4e14e7a473ac1d83a60abe63a9100cb18cb6a.tar.bz2
drakx-9fd4e14e7a473ac1d83a60abe63a9100cb18cb6a.tar.xz
drakx-9fd4e14e7a473ac1d83a60abe63a9100cb18cb6a.zip
use xorriso for proper efi metadata
Diffstat (limited to 'images/make_boot_img')
-rwxr-xr-ximages/make_boot_img4
1 files changed, 2 insertions, 2 deletions
diff --git a/images/make_boot_img b/images/make_boot_img
index 4df1b4794..b00069b5d 100755
--- a/images/make_boot_img
+++ b/images/make_boot_img
@@ -347,7 +347,7 @@ sub boot_iso {
my $arch = arch();
my $options = "-J -joliet-long -r -v -T -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table";
- my $cmd = "mkisofs -U -A 'Mageia-$ENV{DISTRIB_VERSION}-$arch-netinstall' -V 'Mageia-$ENV{DISTRIB_VERSION}-$arch-netinstall' -volset 'Mageia-$ENV{DISTRIB_VERSION}-$arch' $options";
+ my $cmd = "xorriso -as mkisofs -U -A 'Mageia-$ENV{DISTRIB_VERSION}-$arch-netinstall' -V 'Mageia-$ENV{DISTRIB_VERSION}-$arch-netinstall' -volset 'Mageia-$ENV{DISTRIB_VERSION}-$arch' $options";
# create efi stuff on the fly
if ($arch =~ /x86_64/) {
_ "mkdir -p .boot_iso/EFI/BOOT/";
@@ -371,7 +371,7 @@ sub boot_iso {
_ "/sbin/mkdosfs -F12 $efi_img";
_ "mcopy -s -i $efi_img .boot_iso/EFI ::";
# create iso
- _ "$cmd -eltorito-alt-boot -b isolinux/efiboot.img -no-emul-boot -o $iso .boot_iso";
+ _ "$cmd -eltorito-alt-boot -e isolinux/efiboot.img -no-emul-boot -o $iso .boot_iso";
} else {
_ "$cmd -o $iso .boot_iso";
}