3 # Generate a isolinux ISO boot image
5 # geniso foo.iso foo.lkrn
7 # the ISO image is the first argument so that a list of .lkrn images
8 # to include can be specified
12 echo Usage
: $0 foo.iso foo.lkrn ...
17 # This should be the default location of the isolinux.bin file
18 isolinux_bin
=${ISOLINUX_BIN:-util/isolinux.bin}
19 if [ ! -r $isolinux_bin ]
21 echo $0: $isolinux_bin not found
, please
install, or
set ISOLINUX_BIN
in arch
/i386
/Makefile correctly
25 # There should either be mkisofs or the compatible genisoimage program
26 mkisofs
=`which mkisofs genisoimage | head -n1`
29 echo $0: mkisofs or genisoimage not found
, please
install or
set PATH
35 dir
=`mktemp -d bin/iso.dir.XXXXXX`
37 cp -p $isolinux_bin $dir
39 # These default options can be changed in the geniso script
40 SAY Etherboot ISO boot image generated by geniso
48 echo $f does not exist
, skipping
1>&2
64 $mkisofs -quiet -l -o $out -c boot.
cat -b isolinux.bin
-no-emul-boot -boot-load-size 4 -boot-info-table $dir