# change this to match your config or you MAY DESTROY DATA!!!!!!!!!!!!
cdrwdev="0,0,0"

# directory where all starts
topdir=/home/tw/kr/knoppixreloaded

# a fast filesystem on which many inodes will be created
fastdir=/raid0

# a not so fast directory; but it can also be =fastdir
slowdir=$fastdir

# where we keep input ISO, kernel-src-trees, debs and other big stuff
archive=$topdir/../archive
# original KNOPPIX ISO
knoppixiso=`echo $archive/KNOPPIX*.iso`
# inner ISO
tmpiso=$slowdir/knoppix-orig.iso # less than 2 GB, one big file
# here the inner (cloop-ed) iso will be decompressed:
newtree=$fastdir/knoppix-tree # 2 GB, many files, lot of writes and read on this dir
# tree for resulting (outer) iso
newisodir=$slowdir/knoppix-mod
# resulting ISO
newiso=$slowdir/knoppixreloaded.iso

# isolinux or bootfloppy?
isolinux=0
# zisofs
zisofs=0

mods=$topdir/process
knxmnt=/tmp/knxmnt

# prepend to PATH while running knoppixreloaded.sh
MYPATH=
#/usr/local/bin

# for SMP
export CPUS=2
export MAKE="make -j$CPUS"

# common functions:
askyes() {
    task=$1
    shift
    echo -n "Next step $task: $@: "
    read inp
    if [ "$inp" != "y" ] ; then
	echo "Skipping task $task"
	exit
    fi
}

# if a command fails, exit immediately!
set -e

# EOF
