1 |
commit: d1c2ba9bdaf1a69078fcbcd6ec4210e829f99f0a |
2 |
Author: Ben Kohler <bkohler <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Mar 6 01:08:07 2013 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gmail <DOT> com> |
5 |
CommitDate: Wed Mar 6 01:09:23 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/catalyst.git;a=commit;h=d1c2ba9b |
7 |
|
8 |
create-iso.sh: add usb boot via isohybrid |
9 |
|
10 |
Add an isohybrid call to create-iso.sh for isolinux targets so the resulting |
11 |
images are usb/hdd bootable. |
12 |
|
13 |
--- |
14 |
targets/support/create-iso.sh | 2 ++ |
15 |
1 files changed, 2 insertions(+), 0 deletions(-) |
16 |
|
17 |
diff --git a/targets/support/create-iso.sh b/targets/support/create-iso.sh |
18 |
index af8a793..fe1f0fc 100644 |
19 |
--- a/targets/support/create-iso.sh |
20 |
+++ b/targets/support/create-iso.sh |
21 |
@@ -264,6 +264,7 @@ case ${clst_hostarch} in |
22 |
echo "Creating ISO using ISOLINUX bootloader" |
23 |
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}" |
24 |
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" |
25 |
+ isohybrid ${1} |
26 |
elif [ -e ${clst_target_path}/gentoo.efimg ] |
27 |
then |
28 |
echo "Creating ISO using both ISOLINUX and EFI bootloader" |
29 |
@@ -274,6 +275,7 @@ case ${clst_hostarch} in |
30 |
echo "Creating ISO using ISOLINUX bootloader" |
31 |
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}" |
32 |
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" |
33 |
+ isohybrid ${1} |
34 |
fi |
35 |
elif [ -e ${clst_target_path}/boot/grub/stage2_eltorito ] |
36 |
then |