aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnne Nicolas <ennael@mageia.org>2015-01-13 14:53:44 +0100
committerAnne Nicolas <ennael@mageia.org>2015-01-13 14:53:44 +0100
commit9bf84143e21d3a219000cec3b29f7f694f020220 (patch)
treedde936c3e74a02eb68d905d1a7a9608bb9b868c4
parentef37f71baf59e26488bc20ffff8554c788db0679 (diff)
downloadbcd-9bf84143e21d3a219000cec3b29f7f694f020220.tar
bcd-9bf84143e21d3a219000cec3b29f7f694f020220.tar.gz
bcd-9bf84143e21d3a219000cec3b29f7f694f020220.tar.bz2
bcd-9bf84143e21d3a219000cec3b29f7f694f020220.tar.xz
bcd-9bf84143e21d3a219000cec3b29f7f694f020220.zip
include first options for EFI management for DVD 64
-rw-r--r--BCD/Genisoimage.pm40
1 files changed, 17 insertions, 23 deletions
diff --git a/BCD/Genisoimage.pm b/BCD/Genisoimage.pm
index 43dfe0d..1ab1f77 100644
--- a/BCD/Genisoimage.pm
+++ b/BCD/Genisoimage.pm
@@ -74,32 +74,26 @@ sub create_idx {
close $FILE_IDX;
system("cp -v $builddir/pkg-$version-$isoconf->{iso}{tag}.idx $isodir/$isoname.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' \\
+ # 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 $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 \\
- $builddir/../
- ";
+ -boot-info-table \\
+ $builddir/../
+ ";
+
#-quiet \\
print_color("\n------------\n $cmd", $color);
system($cmd);