TREE=". SRPMS=/mnt/src/73rolling/SRPMS anaconda=/usr/src/redhat/SOURCES/anaconda-7.3-f1 "
#TREE="mnt/src/73rolling/SRPMS/ mnt/src/73rolling/i386/ "
# usr/src/redhat/SOURCES/an#aconda-7.3-f1/ usr/src/redhat/RPMS/ usr/src/redhat/SRPMS/ "
DEST=$1
if [ -z "$1" ]; then
    echo "Second parameter must be the name of the final iso image."
    exit 1
fi

echo "Creating $2 from $1..."

mkisofs \
	-o $DEST \
	-A "Fermi Linux 73rolling" \
	-R \
	-l \
	-J \
	-x ./lost+found \
	-graft-points \
	$TREE 
