X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=build.sh;fp=build.sh;h=9bb91dccdd89b4c7d5f85055973b3010b7f177ec;hb=1eacf5afa325218622e322f1d08ac64ea892fab5;hp=a153c53780981e641f51d53f02769f44e668d292;hpb=804e8c5136bdf4c56f97ed79b2317ddc77f57988;p=sliceimage.git diff --git a/build.sh b/build.sh index a153c53..9bb91dc 100755 --- a/build.sh +++ b/build.sh @@ -8,7 +8,7 @@ # Mark Huang # Copyright (C) 2004-2005 The Trustees of Princeton University # -# $Id: build.sh,v 1.4 2006/03/21 14:57:29 mlhuang Exp $ +# $Id: build.sh,v 1.4.2.1 2006/05/26 15:27:44 mlhuang Exp $ # # Get the production /etc/yum.conf file. XXX When MAs begin deploying @@ -120,6 +120,9 @@ rpm --root $VROOT --initdb # Go, baby, go yum -c yum.conf --installroot=$VROOT -y groupinstall VServer +# Clean yum cache +yum -c yum.conf --installroot=$VROOT -y clean all + # Remove stale RPM locks rm -f $VROOT/var/lib/rpm/__db*