aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-02-28 01:16:17 +0100
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-02-28 01:18:29 +0100
commitc677fba1bdd1074a77f33e04efbc11d1c921e967 (patch)
treee8a8c4a7abfbcdbaae5507b5602c20f0a13b61ac
parente0aef8845d1471418ce673145b5c78fc9d89d7fb (diff)
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 <Alexandru.Avadanii@enea.com>
-rwxr-xr-xbuild/install/install.sh10
1 files 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