summaryrefslogtreecommitdiffstats
path: root/scripts/mk-images.x86
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2009-02-25 17:14:05 -0500
committerPeter Jones <pjones@pjones2.install.bos.redhat.com>2009-02-25 17:34:33 -0500
commitd82972f11206ca14b99c9c216fca000396443d82 (patch)
tree4ef42a7ed764666db93df3f77ff210a90b1bdde5 /scripts/mk-images.x86
parentd991a6c2e41545ef195c550dcb7849fb0aa5f8f0 (diff)
downloadanaconda-d82972f11206ca14b99c9c216fca000396443d82.tar.gz
anaconda-d82972f11206ca14b99c9c216fca000396443d82.tar.xz
anaconda-d82972f11206ca14b99c9c216fca000396443d82.zip
Generate EFI-bootable CDs on x86 and x86_64.
Require a newer version of genisoimage that supports EFI booting, and use it in mk-images.x86 when efiboot.img exists.
Diffstat (limited to 'scripts/mk-images.x86')
-rw-r--r--scripts/mk-images.x866
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/mk-images.x86 b/scripts/mk-images.x86
index 3e227395f..fd154594a 100644
--- a/scripts/mk-images.x86
+++ b/scripts/mk-images.x86
@@ -157,7 +157,11 @@ __EOT__
doPostImages() {
if [ -n "$BOOTISO" ]; then
- mkisofs -quiet -o $TOPDESTPATH/images/$BOOTISO -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -R -J -V "$PRODUCT" -T -graft-points isolinux=$TOPDESTPATH/isolinux images/install.img=$TOPDESTPATH/images/install.img
+ EFIARGS=""
+ if [ -f isolinux/efiboot.img ]; then
+ EFIARGS="-eltorito-alt-boot -e isolinux/efiboot.img -no-emul-boot"
+ fi
+ mkisofs -quiet -o $TOPDESTPATH/images/$BOOTISO -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table $EFIARGS -R -J -V "$PRODUCT" -T -graft-points isolinux=$TOPDESTPATH/isolinux images/install.img=$TOPDESTPATH/images/install.img
implantisomd5 $TOPDESTPATH/images/$BOOTISO
fi