create-iso.sh: add usb boot via isohybrid
authorBen Kohler <bkohler@gmail.com>
Wed, 6 Mar 2013 01:08:07 +0000 (17:08 -0800)
committerBrian Dolbec <dolsen@gentoo.org>
Wed, 29 May 2013 03:39:57 +0000 (20:39 -0700)
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 e168ee976ba1ce15ebe36c4a2cc8bb3dc66c2121..08598e5da6683357603b74a1335b70a4359c417e 100755 (executable)
@@ -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