geniso revision 677833bc953b6cb418c701facbdcf4aa18d6c44e
#
# Generate a isolinux ISO boot image
#
#
# the ISO image is the first argument so that a list of .zlilo images
# to include can be specified
#
case $# in
0|1)
exit 1
;;
esac
# This should be the default location of the isolinux.bin file
if [ ! -r $isolinux_bin ]
then
exit 1
fi
out=$1
shift
# These default options can be changed in the geniso script
SAY Etherboot ISO boot image generated by geniso
TIMEOUT 30
EOF
for f
do
if [ ! -r $f ]
then
continue
fi
b=$(basename $f)
g=${b%.zlilo}
"")
echo DEFAULT $g
;;
esac
first=$g
echo LABEL $b
echo "" KERNEL $g
done >> $cfg
mkisofs -l -o $out -c boot.cat -b isolinux.bin -no-emul-boot -boot-load-size 4 -boot-info-table $dir