#!/bin/sh

. /users/samba/grml/config.grml

echo Build new iso file

DATE=`date +%Y%m%d-%H%M`

# Change into base directory
cd "$BASE_DIR"/grml-remaster/copy-mount1
chmod +rw boot/isolinux/boot.cat boot/isolinux/isolinux.bin
# Create the ISO image
mkisofs -V "grml-nas Tasty Kiwi" \
-publisher 'Seth Mos <seth.mos@xs4all.nl>' -l -r -J -no-emul-boot \
-boot-load-size 4 -boot-info-table -c boot/isolinux/boot.cat \
-b boot/isolinux/isolinux.bin -o $BASE_DIR/livecd/grml-nas-"$DATE".iso .

