From 7c3053da69681ed5a57729812d4a357ac1c23b17 Mon Sep 17 00:00:00 2001 From: Vincent Untz Date: Thu, 29 Nov 2012 09:19:16 +0100 Subject: [PATCH] Remove leftover references to files/pips/ The files/pips/* files were removed a while ago (replaced by pip-requires in individual projects). So remove leftover code that was dealing with that. Change-Id: Id521a3365ab018193607389f022a25acddb49714 --- stack.sh | 4 ---- tools/build_ramdisk.sh | 3 +-- tools/build_tempest.sh | 2 -- tools/build_uec.sh | 2 +- tools/build_uec_ramdisk.sh | 2 +- tools/{warm_apts_and_pips_for_uec.sh => warm_apts_for_uec.sh} | 4 +--- 6 files changed, 4 insertions(+), 13 deletions(-) rename tools/{warm_apts_and_pips_for_uec.sh => warm_apts_for_uec.sh} (88%) diff --git a/stack.sh b/stack.sh index 70f461040c..5c5ad2a024 100755 --- a/stack.sh +++ b/stack.sh @@ -779,10 +779,6 @@ if [[ $TRACK_DEPENDS = True ]] ; then $DEST/.venv/bin/pip freeze > $DEST/requires-pre-pip fi -# Install python requirements -echo_summary "Installing Python prerequisites" -pip_install $(get_packages $FILES/pips | sort -u) - # Check Out Source # ---------------- diff --git a/tools/build_ramdisk.sh b/tools/build_ramdisk.sh index 8e2c0be9f4..5ff05b08e0 100755 --- a/tools/build_ramdisk.sh +++ b/tools/build_ramdisk.sh @@ -108,7 +108,7 @@ function map_nbd { echo $NBD } -# Prime image with as many apt/pips as we can +# Prime image with as many apt as we can DEV_FILE=$CACHEDIR/$DIST_NAME-dev.img DEV_FILE_TMP=`mktemp $DEV_FILE.XXXXXX` if [ ! -r $DEV_FILE ]; then @@ -121,7 +121,6 @@ if [ ! -r $DEV_FILE ]; then chroot $MNTDIR apt-get install -y --download-only `cat files/apts/* | grep NOPRIME | cut -d\# -f1` chroot $MNTDIR apt-get install -y --force-yes `cat files/apts/* | grep -v NOPRIME | cut -d\# -f1` - chroot $MNTDIR pip install `cat files/pips/*` # Create a stack user that is a member of the libvirtd group so that stack # is able to interact with libvirt. diff --git a/tools/build_tempest.sh b/tools/build_tempest.sh index e72355c9c4..1758e7da33 100755 --- a/tools/build_tempest.sh +++ b/tools/build_tempest.sh @@ -48,8 +48,6 @@ DEST=${DEST:-/opt/stack} TEMPEST_DIR=$DEST/tempest # Install tests and prerequisites -pip_install `cat $TOP_DIR/files/pips/tempest` - git_clone $TEMPEST_REPO $TEMPEST_DIR $TEMPEST_BRANCH trap - SIGHUP SIGINT SIGTERM SIGQUIT EXIT diff --git a/tools/build_uec.sh b/tools/build_uec.sh index 48819c95e7..58c5425810 100755 --- a/tools/build_uec.sh +++ b/tools/build_uec.sh @@ -68,7 +68,7 @@ fi # Option to warm the base image with software requirements. if [ $WARM_CACHE ]; then cd $TOOLS_DIR - ./warm_apts_and_pips_for_uec.sh $image_dir/disk + ./warm_apts_for_uec.sh $image_dir/disk fi # Name of our instance, used by libvirt diff --git a/tools/build_uec_ramdisk.sh b/tools/build_uec_ramdisk.sh index 150ecabd64..3ab5dafdcb 100755 --- a/tools/build_uec_ramdisk.sh +++ b/tools/build_uec_ramdisk.sh @@ -98,7 +98,7 @@ GUEST_NAME=${GUEST_NAME:-devstack} # Pre-load the image with basic environment if [ ! -e $image_dir/disk-primed ]; then cp $image_dir/disk $image_dir/disk-primed - $TOOLS_DIR/warm_apts_and_pips_for_uec.sh $image_dir/disk-primed + $TOOLS_DIR/warm_apts_for_uec.sh $image_dir/disk-primed $TOOLS_DIR/copy_dev_environment_to_uec.sh $image_dir/disk-primed fi diff --git a/tools/warm_apts_and_pips_for_uec.sh b/tools/warm_apts_for_uec.sh similarity index 88% rename from tools/warm_apts_and_pips_for_uec.sh rename to tools/warm_apts_for_uec.sh index fe389ffee6..3c15f52ee3 100755 --- a/tools/warm_apts_and_pips_for_uec.sh +++ b/tools/warm_apts_for_uec.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# **warm_apts_and_pips_for_uec.sh** +# **warm_apts_for_uec.sh** # Echo commands set -o xtrace @@ -48,8 +48,6 @@ cp /etc/resolv.conf $STAGING_DIR/etc/resolv.conf chroot $STAGING_DIR apt-get update chroot $STAGING_DIR apt-get install -y --download-only `cat files/apts/* | grep NOPRIME | cut -d\# -f1` chroot $STAGING_DIR apt-get install -y --force-yes `cat files/apts/* | grep -v NOPRIME | cut -d\# -f1` || true -mkdir -p $STAGING_DIR/var/cache/pip -PIP_DOWNLOAD_CACHE=/var/cache/pip chroot $STAGING_DIR pip install `cat files/pips/*` || true # Unmount umount $STAGING_DIR