summaryrefslogtreecommitdiff
path: root/scripts/build/bootstrap_debootstrap
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-09-06 01:32:45 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:17:20 +0100
commita81b689509bd083eb51e1d7b293dcf3fe56fb176 (patch)
tree804c678f830097ae66956af8cfa6b46b4b32106a /scripts/build/bootstrap_debootstrap
parent076ea6bc2809c9acc41bea9840d4bf7e1055e2d3 (diff)
downloadlive-build-a81b689509bd083eb51e1d7b293dcf3fe56fb176.zip
live-build-a81b689509bd083eb51e1d7b293dcf3fe56fb176.tar.gz
Also deconfiguring /etc/hosts when using debootstrap to bootstrap system.
Diffstat (limited to 'scripts/build/bootstrap_debootstrap')
-rwxr-xr-xscripts/build/bootstrap_debootstrap3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/build/bootstrap_debootstrap b/scripts/build/bootstrap_debootstrap
index 7157b3c..8176837 100755
--- a/scripts/build/bootstrap_debootstrap
+++ b/scripts/build/bootstrap_debootstrap
@@ -147,6 +147,9 @@ then
${LH_ROOT_COMMAND} chown -R $(whoami):$(whoami) chroot
fi
+ # Deconfiguring debootstrap configurations
+ rm -f chroot/etc/hosts
+
# Removing bootstrap cache
rm -f chroot/var/cache/apt/archives/*.deb