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}"