Remove debootstrapped static resolv.conf

This commit is contained in:
Alessandro Lannocca 2024-05-12 02:24:05 +02:00 committed by Igor
parent 31b9907678
commit ddcda273a5

View File

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