diff options
author | 2017-02-01 10:16:41 +0000 | |
---|---|---|
committer | 2017-02-01 10:16:41 +0000 | |
commit | 0913dd0523847216576614dfa6aee700632a9e32 (patch) | |
tree | dba16bf19d4eeb1c264bca54cb108331aef94ca6 /build/install/install.sh | |
parent | 6753eebc3e581a4491f5b7186f1c5423dae92ae4 (diff) | |
parent | 3518e4b1a55724766e91c58f06d536a9047b8a70 (diff) |
Merge "f_repobuild: Use packetary to build partial mirror"
Diffstat (limited to 'build/install/install.sh')
-rwxr-xr-x | build/install/install.sh | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/build/install/install.sh b/build/install/install.sh index 198f26cb5..b2f6ccc3c 100755 --- a/build/install/install.sh +++ b/build/install/install.sh @@ -122,17 +122,17 @@ prep_make_live() { ssh-copy-id root@$FUELHOST sshfs root@1${FUELHOST}:/ $TMP_HOSTMOUNT - if [ -f $REPO/dists/trusty/main/binary-amd64/Packages.backup ]; then + if [ -f $REPO/dists/xenial/main/binary-amd64/Packages.backup ]; then echo "Error - found backup file for Packages!" exit 1 fi - if [ -f $REPO/dists/trusty/main/binary-amd64/Packages.gz.backup ]; then + if [ -f $REPO/dists/xenial/main/binary-amd64/Packages.gz.backup ]; then echo "Error - found backup file for Packages.gz!" exit 1 fi - if [ -f $REPO/dists/trusty/Release.backup ]; then + if [ -f $REPO/dists/xenial/Release.backup ]; then echo "Error - found backup file for Release!" exit 1 fi @@ -142,9 +142,9 @@ prep_make_live() { exit 1 fi - cp $REPO/dists/trusty/main/binary-amd64/Packages $REPO/dists/trusty/main/binary-amd64/Packages.backup - cp $REPO/dists/trusty/main/binary-amd64/Packages.gz $REPO/dists/trusty/main/binary-amd64/Packages.gz.backup - cp $REPO/dists/trusty/Release $REPO/dists/trusty/Release.backup + cp $REPO/dists/xenial/main/binary-amd64/Packages $REPO/dists/xenial/main/binary-amd64/Packages.backup + cp $REPO/dists/xenial/main/binary-amd64/Packages.gz $REPO/dists/xenial/main/binary-amd64/Packages.gz.backup + cp $REPO/dists/xenial/Release $REPO/dists/xenial/Release.backup cp -Rvp $DEST/etc/puppet $DEST/etc/puppet.backup } @@ -443,7 +443,7 @@ copy_packages() { echo Not running apt-ftparchive generate "${APT_UDEB_CONF}" # Fuel also needs this index file - # cat dists/trusty/main/binary-amd64/Packages | \ + # cat dists/xenial/main/binary-amd64/Packages | \ # awk '/^Package:/{pkg=$2} # /^Version:/{print pkg ": \"" $2 "\""}' > ubuntu-versions.yaml # cp ubuntu-versions.yaml $DEST |