#!/bin/sh
. ./config.sh
echo "Running mkisofs..."
cd $FREESBIEBASEDIR
tar cvzfp mfs/etc.tgz etc
tar cvzfp mfs/dev.tgz dev
tar cvzfp mfs/root.tgz root
tar cvzfp mfs/local_etc.tgz usr/local/etc

cp $LOCALDIR/files/boot.catalog $FREESBIEBASEDIR/boot
cd $FREESBIEBASEDIR

/usr/local/bin/mkisofs -b boot/cdboot -no-emul-boot -c boot/boot.catalog -r -J -V FreeSBIE -o $PATHISO .



