diff options
author | Daniel Baumann <daniel@debian.org> | 2009-06-09 10:00:01 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:09:45 +0100 |
commit | 95b1731883490e5c96b7140a5584e47fdc79dea9 (patch) | |
tree | bedd2dd574187073d25d08d4d517b62836910a4b /helpers | |
parent | 16ba7aa98e3caea9de641e4b40ed8186157dc15d (diff) | |
download | vyos-live-build-95b1731883490e5c96b7140a5584e47fdc79dea9.tar.gz vyos-live-build-95b1731883490e5c96b7140a5584e47fdc79dea9.zip |
Emitting a warning if resolvconf is detected on the to be generated live system. Beware of resolvconf, it's broken beyond repair.
Diffstat (limited to 'helpers')
-rwxr-xr-x | helpers/lh_chroot_hacks | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/helpers/lh_chroot_hacks b/helpers/lh_chroot_hacks index 6ed9ed869..721a6d79f 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 |