. locations.include #Lets customize the isolinux files. Need to do this now so that they make #it on the boot.iso which is built in buildinstall . if [ -s /$TREE/sites/$SITE/build/isolinux/boot.msg ] ; then cp /$TREE/sites/$SITE/build/isolinux/boot.msg /$TREE/sites/$SITE/isolinux/boot.msg fi if [ -s /$TREE/sites/$SITE/build/isolinux/isolinux.cfg ] ; then cp /$TREE/sites/$SITE/build/isolinux/isolinux.cfg /$TREE/sites/$SITE/isolinux/isolinux.cfg fi if [ -s /$TREE/sites/$SITE/build/isolinux/splash.lss ] ; then cp /$TREE/sites/$SITE/build/isolinux/splash.lss /$TREE/sites/$SITE/isolinux/splash.lss fi # if [ -s $ANACONDADIR/buildinstall ] ; then if [ -s ./buildinstall ] ; then sh -x ./buildinstall --pkgorder ../../base/pkgorder --version $VERSION --product "Scientific Linux $VERSION ($SITE)" --discs "1,2,3,4" --release $RELEASE --prodpath sites/$SITE $TREE else sh -x $ANACONDADIR/buildinstall --pkgorder ../../base/pkgorder --version $VERSION --product "Scientific Linux $VERSION ($SITE)" --discs "1,2,3,4" --release $RELEASE --prodpath sites/$SITE $TREE fi else echo "You need to have anaconda and anaconda-runtime installed" exit 1 fi if [ ! -d $TREE/images/$SITE ] ; then cd $TREE/images ln -s ../sites/$SITE/images $SITE #else # echo "Directory $TREE/images/$SITE does not exist" # exit 1 fi if [ $ARCH == "ia64" ]; then echo "no customized boot images for $ARCH for now..." else if [ $ARCH == "x86_64" ]; then echo "no customized boot images fro $ARCH" fi fi if [ -d $TREE/sites/$SITE/images/xen ] ; then if [ ! -d /$TREE/sites/$SITE/sites/ ] ; then mkdir -p /$TREE/sites/$SITE/sites/ fi cd /$TREE/sites/$SITE/sites/ echo "This extra sites directory needs to exist so that xen installs work" > README if [ ! -d $SITE ] ; then ln -s .. $SITE fi fi