#Change these based on your site #where is your release PRODUCT="Scientific Linux" VERSION=55 VERSIONROLLING=5rolling VERSIONIMAGE=$VERSION #VERSIONDIR is for anything that needs the directory to still be rolling VERSIONDIR=$VERSIONROLLING RELEASEDIR=/export/linux/scientific/$VERSIONDIR/ if [ ! -d $RELEASEDIR ] ; then RELEASEDIR=/mnt/src/scientific/$VERSIONDIR/ fi #Should not need to change which arch this is ARCH=`uname -i` ARCH=i386 TOTBINCD=7 TOTSRCCD=1 TOTCD=8 DISCSIZECD=650 TOTBINDVD=2 TOTSRCDVD=1 TOTDVD=2 DISCSIZEDVD=4200 ISO1RESERVESIZE=150000000 #where do you want the iso images put CDISOAREA=$RELEASEDIR/iso/$ARCH/ #Should not need to change where default is DEFAULT=SL #The following are either derived or hardcoded, so leave alone # RPMDBVERSION=$VERSION RELEASE=LTS FILEORDER=pkgorder TREE=$RELEASEDIR/$ARCH DATE=`date "+%m%d%y"` ANACONDADIR=/usr/lib/anaconda-runtime PYTHONPATH=/usr/lib/anaconda MYPWD=`pwd` export TREE export DEFAULT export PYTHONPATH export ARCH export RELEASEDIR export MYPWD SITE="" SITEDIR="" export SITE echo "TREE is $TREE" echo "SITE is $SITE" echo "SITEDIR is $SITEDIR" echo "DEFAULT is $DEFAULT" #These are some checks to make sure things are in the right places #if [ ! -d $TREE/$DEFAULT/ ] ; then # echo "The directory does not exist : $TREE/$DEFAULT/" # exit #fi if [ ! -d $TREE/$SITEDIR ] ; then echo "The directory does not exist : $TREE/$SITEDIR" exit fi if [ ! -d $ANACONDADIR ] ; then echo "The anaconda-runtime rpm has not been installed, please install" exit fi if [ ! -d $PYTHONPATH ] ; then echo "The anaconda rpm has not been installed, please install" exit fi #