aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/disk-image-builder
diff options
context:
space:
mode:
authorThomas F Herbert <therbert@redhat.com>2018-03-18 12:11:21 -0400
committerPeter Mikus <pmikus@cisco.com>2018-03-21 09:04:20 +0000
commit830c727df1083ccb914c28640c0a4984fe3f57a2 (patch)
tree01adee77e44ebeb900d628bfd02e41bb3780eee0 /resources/tools/disk-image-builder
parent16d26b1280d64f046838baefbe642f7fd5d853a8 (diff)
Fix for pypcap import problem.
JIRA: CSIT-991 This fix forces the downloads of the complete package for all the pip python packages to be installed on Centos regardless of the Python metadata on the host. Change-Id: I9f5b9faf75306c2b0ae34ca640bc5f36811f900c Signed-off-by: Thomas F Herbert <therbert@redhat.com>
Diffstat (limited to 'resources/tools/disk-image-builder')
-rwxr-xr-xresources/tools/disk-image-builder/centos/build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/tools/disk-image-builder/centos/build.sh b/resources/tools/disk-image-builder/centos/build.sh
index 4b2304294e..c01d8f634e 100755
--- a/resources/tools/disk-image-builder/centos/build.sh
+++ b/resources/tools/disk-image-builder/centos/build.sh
@@ -208,7 +208,7 @@ ln ${RPM_CACHE_DIR}/rpm-packages.txt ${OUTPUT_DIR}/temp/rpm/rpm-packages.txt
mkdir -p ${PIP_CACHE_DIR}
# Let PIP do the work of downloading and verifying packages
-pip install --download ${PIP_CACHE_DIR} -r ${LIST}/pip-requirements.txt
+pip download -d ${PIP_CACHE_DIR} -r ${LIST}/pip-requirements.txt
# Link packages and requirements file into VM's temp directory
mkdir -p ${OUTPUT_DIR}/temp/pip