force dep updates every run for now

This commit is contained in:
Anthony Young 2011-10-17 10:12:22 -07:00
parent 04db155a70
commit 6b9d6dad6a

View File

@ -119,11 +119,13 @@ if [ ! -f $CACHEDIR/bootstrapped ]; then
lxc-destroy -n $CONTAINER
# trigger the initial debootstrap
create_lxc
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/*`
touch $CACHEDIR/bootstrapped
fi
# Clean out code repos if directed to do so
if [ "$CLEAN" = "1" ]; then