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

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



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


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