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 ...
16 # This should be the default location of the isolinux.bin file
17 isolinux_bin=${ISOLINUX_BIN:-util/isolinux.bin}
18 if [ ! -r $isolinux_bin ]
20 echo $0: $isolinux_bin not found, please install, or set ISOLINUX_BIN in arch/i386/config correctly
28 cp -p $isolinux_bin $dir
30 # These default options can be changed in the geniso script
31 SAY Etherboot ISO boot image generated by geniso
39 echo $f does not exist, skipping 1>&2
55 mkisofs -l -o $out -c boot.cat -b isolinux.bin -no-emul-boot -boot-load-size 4 -boot-info-table $dir