Emitting a warning if resolvconf is detected on the to be generated live system. Beware of resolvconf, it's broken beyond repair.

This commit is contained in:
Daniel Baumann 2009-06-09 10:00:01 +02:00
parent 16ba7aa98e
commit 95b1731883
1 changed files with 8 additions and 0 deletions

View File

@ -174,5 +174,13 @@ then
ln -s /proc/mounts chroot/etc/mtab ln -s /proc/mounts chroot/etc/mtab
fi 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 # Creating stage file
Create_stagefile .stage/chroot_hacks Create_stagefile .stage/chroot_hacks