From d1c2ba9bdaf1a69078fcbcd6ec4210e829f99f0a Mon Sep 17 00:00:00 2001 From: Ben Kohler Date: Tue, 5 Mar 2013 17:08:07 -0800 Subject: [PATCH] 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. --- targets/support/create-iso.sh | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.26.2