From 95b1731883490e5c96b7140a5584e47fdc79dea9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 9 Jun 2009 10:00:01 +0200 Subject: Emitting a warning if resolvconf is detected on the to be generated live system. Beware of resolvconf, it's broken beyond repair. --- helpers/lh_chroot_hacks | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/helpers/lh_chroot_hacks b/helpers/lh_chroot_hacks index 6ed9ed8..721a6d7 100755 --- a/helpers/lh_chroot_hacks +++ b/helpers/lh_chroot_hacks @@ -174,5 +174,13 @@ then ln -s /proc/mounts chroot/etc/mtab fi +# Show popular warnings +if [ -e chroot/etc/init.d/resolvconf ] +then + Echo_warning "Your live system appears to include resolvconf which is by its nature incompatible in most ways with debian-live." + Echo_warning "Keeping resolvconf installed *can* lead to broken network support in the resulting live system." + Echo_warning "Unless you really know what you are doing, we recommend that you neither install resolvconf explicitly nor implicitly through another package's relation (e.g. by having automatic installation of recommended packages enabled)." +fi + # Creating stage file Create_stagefile .stage/chroot_hacks -- cgit v1.0