create-iso.sh: add usb boot via isohybrid
authorBen Kohler <bkohler@gmail.com>
Wed, 6 Mar 2013 01:08:07 +0000 (17:08 -0800)
committerMatt Turner <mattst88@gmail.com>
Wed, 6 Mar 2013 01:09:23 +0000 (17:09 -0800)
Add an isohybrid call to create-iso.sh for isolinux targets so the resulting
images are usb/hdd bootable.

targets/support/create-iso.sh

index af8a793ff6b398ec47bc493d946cedf0c7f45cc5..fe1f0fc4aecf55dd6948b15f6b536940ef71f727 100644 (file)
@@ -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