summaryrefslogtreecommitdiff
path: root/helpers/lh_bootstrap_cdebootstrap
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/lh_bootstrap_cdebootstrap')
-rwxr-xr-xhelpers/lh_bootstrap_cdebootstrap7
1 files changed, 6 insertions, 1 deletions
diff --git a/helpers/lh_bootstrap_cdebootstrap b/helpers/lh_bootstrap_cdebootstrap
index 9581d8c..5453d02 100755
--- a/helpers/lh_bootstrap_cdebootstrap
+++ b/helpers/lh_bootstrap_cdebootstrap
@@ -137,6 +137,11 @@ then
Chroot "dpkg -P cdebootstrap-helper-diverts"
fi
+ # Deconfiguring cdebootstrap configurations
+ rm -f chroot/etc/apt/sources.list
+ rm -f chroot/etc/hosts
+ rm -f chroot/etc/resolv.conf
+
# Removing bootstrap cache
if [ -d chroot/var/cache/bootstrap ]
then
@@ -157,6 +162,6 @@ then
# Creating stage file
Create_stagefile .stage/bootstrap
else
- echo "E: Can't process file /usr/bin/cdebootstrap (FIXME)"
+ Echo_error "Can't process file /usr/bin/cdebootstrap (FIXME)"
exit 1
fi