summaryrefslogtreecommitdiffstats
path: root/vagrant
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2019-12-31 20:58:48 +0000
committerintrigeri <intrigeri@boum.org>2019-12-31 22:53:19 +0000
commita84b70c4e76b2a49d7f3c9a4997ce299900e98ad (patch)
treed0b9afad67e982708b9e9044b3c8a2b397f315f0 /vagrant
parent459a54db2b44d04f9a5e29f0fa2ca13ed38a6a86 (diff)
Build system: remove 5 years old transition code
Diffstat (limited to 'vagrant')
-rwxr-xr-xvagrant/provision/setup-tails-builder24
1 files changed, 0 insertions, 24 deletions
diff --git a/vagrant/provision/setup-tails-builder b/vagrant/provision/setup-tails-builder
index f0e35d5..d45881b 100755
--- a/vagrant/provision/setup-tails-builder
+++ b/vagrant/provision/setup-tails-builder
@@ -64,30 +64,6 @@ apt-get -y dist-upgrade
echo "I: Installing build script..."
install -o root -g root -m 755 /vagrant/provision/assets/build-tails /usr/local/bin
-echo "I: Forcing live-build to use the mirrors configured in auto/config..."
-
-disable_live_build_conf()
-{
- local var="$1"
-
- [ -e /etc/live/build.conf ] || return 0
- sed -e "/^[[:space:]]*$var=/d" -i /etc/live/build.conf
-}
-
-for prefix in MIRROR PARENT_MIRROR ; do
- for target in BOOTSTRAP BINARY CHROOT ; do
- for archive in '' BACKPORTS SECURITY UPDATES VOLATILE ; do
- if [ -z "$archive" ] ; then
- archive_suffix=''
- else
- archive_suffix="_${archive}"
- fi
- var="LB_${prefix}_${target}${archive_suffix}"
- disable_live_build_conf "$var"
- done
- done
-done
-
echo "I: Cleaning up..."
apt-get -y autoremove
apt-get -y clean