diff options
Diffstat (limited to 'helpers/lh_bootstrap_cdebootstrap')
-rwxr-xr-x | helpers/lh_bootstrap_cdebootstrap | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/helpers/lh_bootstrap_cdebootstrap b/helpers/lh_bootstrap_cdebootstrap index 9581d8c0e..5453d024f 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 |