From c9043b269771cca70f103f3d3ae5574dafedbc98 Mon Sep 17 00:00:00 2001 From: Cody Shepherd Date: Fri, 4 Sep 2020 09:49:55 -0700 Subject: [PATCH] Call function to set up resolvconf to enable DNS for buildd --- live-build/buildd/hooks/52-linux-virtual-image.binary | 3 +++ 1 file changed, 3 insertions(+) diff --git a/live-build/buildd/hooks/52-linux-virtual-image.binary b/live-build/buildd/hooks/52-linux-virtual-image.binary index 9c7ab895..fd299f77 100755 --- a/live-build/buildd/hooks/52-linux-virtual-image.binary +++ b/live-build/buildd/hooks/52-linux-virtual-image.binary @@ -63,6 +63,9 @@ undivert_grub "$mount_d" chroot "$mount_d" \ sh -c 'update-initramfs -c -v -k $(ls /boot/vmlinuz*generic | sed 1q | cut -d- -f2-3)' +# Set up resolvconf +setup_resolvconf "$mount_d" + # Cleanup env DEBIAN_FRONTEND=noninteractive chroot "$mount_d" apt-get \ clean