aboutsummaryrefslogtreecommitdiffstats
path: root/BCD
diff options
context:
space:
mode:
authorAnne Nicolas <ennael@mageia.org>2014-07-16 23:10:52 +0200
committerAnne Nicolas <ennael@mageia.org>2014-07-16 23:10:52 +0200
commitd6b229fb8d950d02db6b7cde56641ea29c003cb6 (patch)
treee4850e82a0547caecdd005bf9b6c6fc58c3b51ec /BCD
parentad0200fc42edc3b5cbabda080ce801d8aa658e74 (diff)
downloadbcd-d6b229fb8d950d02db6b7cde56641ea29c003cb6.tar
bcd-d6b229fb8d950d02db6b7cde56641ea29c003cb6.tar.gz
bcd-d6b229fb8d950d02db6b7cde56641ea29c003cb6.tar.bz2
bcd-d6b229fb8d950d02db6b7cde56641ea29c003cb6.tar.xz
bcd-d6b229fb8d950d02db6b7cde56641ea29c003cb6.zip
add test for isolinux options to manage EFI on x86_64 DVD isos
Diffstat (limited to 'BCD')
-rw-r--r--BCD/Genisoimage.pm31
1 files changed, 20 insertions, 11 deletions
diff --git a/BCD/Genisoimage.pm b/BCD/Genisoimage.pm
index 197d201..f410e2d 100644
--- a/BCD/Genisoimage.pm
+++ b/BCD/Genisoimage.pm
@@ -83,19 +83,28 @@ sub create_idx {
sub create_iso {
# build the ISO with all args
+ # use -eltorito-alt-boot -b isolinux/efiboot.img -no-emul-boot for EFI
print_color("$LOG Building the ISO", $color);
+
+ my $boot ="";
+ if ($nameid eq "Mageia" && $arch eq "x86_64") {
+ $boot = "-boot-info-table -eltorito-alt-boot -b isolinux/efiboot.img -no-emul-boot";
+ } else {
+ $boot = "-boot-info-table";
+ }
+
my $cmd = "genisoimage $isoconf->{iso}{genisoimage}{options} \\
--A '$isoconf->{iso}{header}{applicationid}' \\
--publisher '$isoconf->{iso}{header}{publisherid}' \\
--sysid '$isoconf->{iso}{header}{systemid}' \\
--p '$isoconf->{iso}{header}{datapreparer}' \\
--volset '$isoconf->{iso}{header}{volumesetid}' \\
--V '$isoconf->{iso}{header}{volumeid}' \\
--o '$isodir/$isoname.iso' \\
--b isolinux/isolinux.bin \\
--boot-info-table \\
-$builddir/../
-";
+ -A '$isoconf->{iso}{header}{applicationid}' \\
+ -publisher '$isoconf->{iso}{header}{publisherid}' \\
+ -sysid '$isoconf->{iso}{header}{systemid}' \\
+ -p '$isoconf->{iso}{header}{datapreparer}' \\
+ -volset '$isoconf->{iso}{header}{volumesetid}' \\
+ -V '$isoconf->{iso}{header}{volumeid}' \\
+ -o '$isodir/$isoname.iso' \\
+ -b isolinux/isolinux.bin \\
+ $boot \\
+ $builddir/../
+ ";
#-quiet \\
print_color("\n------------\n $cmd", $color);
system($cmd);