[PATCH] Use isohybrid to make boot.iso a hybrid image

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



isohybrid in newer syslinux makes an iso image bootable off of CD
or able to be dd'd onto a USB stick for booting that way.  To make
this really nice, we need to change the second stage finding so
that it gets found on the USB stick, but one step at a time
---
 scripts/mk-images.x86 |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/scripts/mk-images.x86 b/scripts/mk-images.x86
index 22db99c..add8cff 100644
--- a/scripts/mk-images.x86
+++ b/scripts/mk-images.x86
@@ -170,5 +170,8 @@ doPostImages() {
         mkisocmd="mkisofs -v -o $TOPDESTPATH/images/$BOOTISO $BIOSARGS $EFIARGS -R -J -V "$PRODUCT" -T -graft-points isolinux=$TOPDESTPATH/isolinux images=$TOPDESTPATH/images $EFIGRAFT"
         echo $PWD:\$ $mkisocmd
 	$mkisocmd
+	if [ -x /usr/bin/isohybrid ]; then
+            isohybrid $TOPDESTPATH/images/$BOOTISO || echo "Unable to make hybrid boot.iso"
+        fi
     fi
 }
-- 
1.6.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux