From 830c727df1083ccb914c28640c0a4984fe3f57a2 Mon Sep 17 00:00:00 2001 From: Thomas F Herbert Date: Sun, 18 Mar 2018 12:11:21 -0400 Subject: [PATCH] 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 --- resources/tools/disk-image-builder/centos/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.16.6