From: Ben Kohler Date: Wed, 6 Mar 2013 01:08:07 +0000 (-0800) Subject: create-iso.sh: add usb boot via isohybrid X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d1c2ba9bdaf1a69078fcbcd6ec4210e829f99f0a;p=catalyst.git create-iso.sh: add usb boot via isohybrid Add an isohybrid call to create-iso.sh for isolinux targets so the resulting images are usb/hdd bootable. --- diff --git a/targets/support/create-iso.sh b/targets/support/create-iso.sh index af8a793f..fe1f0fc4 100644 --- a/targets/support/create-iso.sh +++ b/targets/support/create-iso.sh @@ -264,6 +264,7 @@ case ${clst_hostarch} in echo "Creating ISO using ISOLINUX bootloader" echo "mkisofs -J -R -l ${mkisofs_zisofs_opts} -V \"${clst_iso_volume_id}\" -o ${1} -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table ${clst_target_path}" mkisofs -J -R -l ${mkisofs_zisofs_opts} -V "${clst_iso_volume_id}" -o ${1} -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table ${clst_target_path} || die "Cannot make ISO image" + isohybrid ${1} elif [ -e ${clst_target_path}/gentoo.efimg ] then echo "Creating ISO using both ISOLINUX and EFI bootloader" @@ -274,6 +275,7 @@ case ${clst_hostarch} in echo "Creating ISO using ISOLINUX bootloader" echo "mkisofs -J -R -l ${mkisofs_zisofs_opts} -V \"${clst_iso_volume_id}\" -o ${1} -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table ${clst_target_path}" mkisofs -J -R -l ${mkisofs_zisofs_opts} -V "${clst_iso_volume_id}" -o ${1} -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table ${clst_target_path} || die "Cannot make ISO image" + isohybrid ${1} fi elif [ -e ${clst_target_path}/boot/grub/stage2_eltorito ] then