From 0202fc51fdb9850498686a804b935aa4ed81c86c Mon Sep 17 00:00:00 2001 From: Mark Huang Date: Mon, 8 May 2006 22:14:14 +0000 Subject: [PATCH] - clean up yum cache before exiting --- support-files/buildnode.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/support-files/buildnode.sh b/support-files/buildnode.sh index a93cb27..6162c52 100755 --- a/support-files/buildnode.sh +++ b/support-files/buildnode.sh @@ -9,7 +9,7 @@ # Mark Huang # Copyright (C) 2005 The Trustees of Princeton University # -# $Id: buildnode.sh,v 1.5 2006/03/21 14:57:29 mlhuang Exp $ +# $Id: buildnode.sh,v 1.5.2.1 2006/05/08 21:52:43 mlhuang Exp $ # # Get the production /etc/yum.conf file. XXX When MAs begin deploying @@ -127,6 +127,9 @@ export PL_BOOTCD=1 # Go, baby, go yum -c yum.conf --installroot=$VROOT -y groupinstall PlanetLab +# Clean yum cache +yum -c yum.conf --installroot=$VROOT -y clean all + # Remove stale RPM locks rm -f $VROOT/var/lib/rpm/__db* -- 2.43.0