From: Michael Brown Date: Sun, 27 Mar 2011 21:32:11 +0000 (+0100) Subject: [build] Generate hybrid ISO images if isohybrid is available X-Git-Tag: v1.20.1~2186 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d161ebff94b61ce1bdc0ed6c09f7ba75a1d481b5;p=thirdparty%2Fipxe.git [build] Generate hybrid ISO images if isohybrid is available Suggested-by: Gene Cumm Signed-off-by: Michael Brown --- diff --git a/src/util/geniso b/src/util/geniso index 1792fc1c8..790e7171d 100755 --- a/src/util/geniso +++ b/src/util/geniso @@ -30,6 +30,9 @@ then exit 1 fi +# isohybrid will be used if available +isohybrid=`which isohybrid 2>/dev/null` + out=$1 shift dir=`mktemp -d bin/iso.dir.XXXXXX` @@ -63,3 +66,7 @@ do done >> $cfg $mkisofs -quiet -l -o $out -c boot.cat -b isolinux.bin -no-emul-boot -boot-load-size 4 -boot-info-table $dir rm -fr $dir +if [ -n "$isohybrid" ] +then + $isohybrid $out >/dev/null +fi