diff --git a/live-build/buildd/hooks/49-empty-resolv-conf.binary b/live-build/buildd/hooks/49-empty-resolv-conf.binary index df4a9b9a..a6f97526 100755 --- a/live-build/buildd/hooks/49-empty-resolv-conf.binary +++ b/live-build/buildd/hooks/49-empty-resolv-conf.binary @@ -1,4 +1,3 @@ -#!/bin/sh -set -e - -chroot chroot truncate -s 0 /etc/resolv.conf +#!/bin/sh -e +chroot chroot rm /etc/resolv.conf +chroot chroot touch /etc/resolv.conf