| # Generate a isolinux ISO boot image |
| # geniso foo.iso foo.lkrn |
| # the ISO image is the first argument so that a list of .lkrn images |
| # to include can be specified |
| echo Usage: $0 foo.iso foo.lkrn ... |
| # This should be the default location of the isolinux.bin file |
| isolinux_bin=${ISOLINUX_BIN:-util/isolinux.bin} |
| if [ ! -r $isolinux_bin ] |
| echo $0: $isolinux_bin not found, please install, or set ISOLINUX_BIN in arch/i386/Makefile correctly |
| dir=`mktemp -d bin/iso.dir.XXXXXX` |
| # These default options can be changed in the geniso script |
| SAY Etherboot ISO boot image generated by geniso |
| echo $f does not exist, skipping 1>&2 |
| mkisofs -q -l -o $out -c boot.cat -b isolinux.bin -no-emul-boot -boot-load-size 4 -boot-info-table $dir |