From 6b9d6dad6ad460b2b5fede659363cfca51e33c8d Mon Sep 17 00:00:00 2001 From: Anthony Young Date: Mon, 17 Oct 2011 10:12:22 -0700 Subject: [PATCH] force dep updates every run for now --- tools/build_lxc.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tools/build_lxc.sh b/tools/build_lxc.sh index 39046f0700..0f1737806c 100755 --- a/tools/build_lxc.sh +++ b/tools/build_lxc.sh @@ -119,12 +119,14 @@ if [ ! -f $CACHEDIR/bootstrapped ]; then lxc-destroy -n $CONTAINER # trigger the initial debootstrap create_lxc - chroot $CACHEDIR apt-get update - chroot $CACHEDIR apt-get install -y --force-yes `cat files/apts/* | cut -d\# -f1 | egrep -v "(rabbitmq|libvirt-bin|mysql-server)"` - chroot $CACHEDIR pip install `cat files/pips/*` touch $CACHEDIR/bootstrapped fi +# Make sure that base requirements are installed +chroot $CACHEDIR apt-get update +chroot $CACHEDIR apt-get install -y --force-yes `cat files/apts/* | cut -d\# -f1 | egrep -v "(rabbitmq|libvirt-bin|mysql-server)"` +chroot $CACHEDIR pip install `cat files/pips/*` + # Clean out code repos if directed to do so if [ "$CLEAN" = "1" ]; then rm -rf $CACHEDIR/$DEST