diff --git a/live-build/buildd/hooks/52-linux-virtual-image.binary b/live-build/buildd/hooks/52-linux-virtual-image.binary index f373136b..000eebc1 100755 --- a/live-build/buildd/hooks/52-linux-virtual-image.binary +++ b/live-build/buildd/hooks/52-linux-virtual-image.binary @@ -27,6 +27,10 @@ cleanup_linux_virtual() { } trap cleanup_linux_virtual EXIT +# The base buildd chroot includes an empty resolv.conf +# We don't want to include that in the bootable images +rm $mount_d/etc/resolv.conf + # Install dependencies env DEBIAN_FRONTEND=noninteractive chroot "$mount_d" apt-get \ update --assume-yes