diff options
-rwxr-xr-x | scripts/build/chroot_resolv | 7 |
1 files changed, 7 insertions, 0 deletions
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 ;; |