From c677fba1bdd1074a77f33e04efbc11d1c921e967 Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Tue, 28 Feb 2017 01:16:17 +0100 Subject: patch-packages: Disable mechanism once again Now that cirros-testvm DEB patching is no longer needed, disable patch-pacakges mechanism. This saves a few minutes from each build. Change-Id: I2e0c8f86a5fda55cb57a3d08a3f585cb535eb2f4 Signed-off-by: Alexandru Avadanii --- build/install/install.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/build/install/install.sh b/build/install/install.sh index b2f6ccc3c..19ff14946 100755 --- a/build/install/install.sh +++ b/build/install/install.sh @@ -394,6 +394,8 @@ copy_packages() { printf "\n\n" | tee -a $REPORTFILE for line in `cat $TOP/patch-packages/release/patch-replacements` do + echo "Did not expect a line here, not supported" + exit 1 echo "Processing $line ..." frompkg=`echo $line | cut -d ">" -f 1` topkg=`echo $line | cut -d ">" -f 2` @@ -439,7 +441,7 @@ copy_packages() { APT_DEB_CONF="$TOP/install/apt-ftparchive-deb.conf" APT_UDEB_CONF="$TOP/install/apt-ftparchive-udeb.conf" - apt-ftparchive -c "${APT_REL_CONF}" generate "${APT_DEB_CONF}" + echo Not running apt-ftparchive -c "${APT_REL_CONF}" generate "${APT_DEB_CONF}" echo Not running apt-ftparchive generate "${APT_UDEB_CONF}" # Fuel also needs this index file @@ -448,10 +450,8 @@ copy_packages() { # /^Version:/{print pkg ": \"" $2 "\""}' > ubuntu-versions.yaml # cp ubuntu-versions.yaml $DEST - echo apt-ftparchive -c "${APT_REL_CONF}" release dists/mos10.0/ > dists/mos10.0/Release - apt-ftparchive -c "${APT_REL_CONF}" release dists/mos10.0/ > dists/mos10.0/Release - echo gzip -9cf dists/mos10.0/Release > dists/mos10.0/Release.gz - gzip -9cf dists/mos10.0/Release > dists/mos10.0/Release.gz + # apt-ftparchive -c "${APT_REL_CONF}" release dists/mos10.0/ > dists/mos10.0/Release + # gzip -9cf dists/mos10.0/Release > dists/mos10.0/Release.gz popd > /dev/null -- cgit 1.2.3-korg