From 880e6e07364a405ed225416a1c020d8dc0918db2 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 30 Sep 2012 09:42:13 +0200 Subject: Adding slightly modified patch from Adam Conrad to remove resolvconf artifacts. --- scripts/build/chroot_resolv | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/build/chroot_resolv b/scripts/build/chroot_resolv index b82e3667a..42ba07161 100755 --- a/scripts/build/chroot_resolv +++ b/scripts/build/chroot_resolv @@ -90,6 +90,13 @@ case "${1}" in Truncate chroot/etc/resolv.conf fi + # Clean up resolvconf's pollution + if [ -e chroot/etc/resolvconf/resolv.conf.d ] + then + rm -f chroot/etc/resolvconf/resolv.conf.d/original + rm -f chroot/etc/resolvconf/resolv.conf.d/tail + fi + # Removing stage file rm -f .build/chroot_resolv ;; -- cgit v1.2.3