From ddcda273a54d3145069cb9db34ee1f67a6f77e21 Mon Sep 17 00:00:00 2001 From: Alessandro Lannocca Date: Sun, 12 May 2024 02:24:05 +0200 Subject: [PATCH] Remove debootstrapped static resolv.conf --- lib/functions/rootfs/post-tweaks.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/functions/rootfs/post-tweaks.sh b/lib/functions/rootfs/post-tweaks.sh index 16a1edb1ff..a616984e83 100644 --- a/lib/functions/rootfs/post-tweaks.sh +++ b/lib/functions/rootfs/post-tweaks.sh @@ -27,6 +27,8 @@ function post_debootstrap_tweaks() { chroot_sdcard dpkg-divert --quiet --local --rename --remove /sbin/initctl chroot_sdcard dpkg-divert --quiet --local --rename --remove /sbin/start-stop-daemon run_host_command_logged rm -fv "${SDCARD}"/usr/sbin/policy-rc.d + display_alert "Cleaning deboostrapped resolv.conf" "info" + run_host_command_logged rm -fv "${SDCARD}"/etc/resolv.conf # remove the qemu static binary undeploy_qemu_binary_from_chroot "${SDCARD}"