. locations.include # if [ -d $TREE/sites/$SITE/sites/$SITE ] ; then echo "removing $TREE/sites/$SITE/site/$SITE" # rm $TREE/sites/$SITE/sites/$SITE fi if [ -s $ANACONDADIR/buildinstall ] ; then sh -x $ANACONDADIR/buildinstall --pkgorder ../base/pkgorder --version $VERSION --comps $TREE/sites/$SITE/RPMS/repodata/comps*xml --product "Scientific Linux $VERSION ($SITE)" --discs "1,2,3,4" --release $RELEASE --prodpath sites/$SITE/ $TREE if [ ! -d $TREE/sites/$SITE/sites/$SITE ] ; then mkdir -p $TREE/sites/$SITE/sites/ cd $TREE/sites/$SITE/sites/ ln -s .. $SITE 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 fi if [ $ARCH == "x86_64" ]; then echo "no customized boot images for $ARCH for now..." else # i386 echo "no customized boot images for $ARCH for now..." fi cd $TREE/build/scripts sh make.updates.img.sh sh make.products.img.sh