mkosi: delete /etc/resolv.conf to let tmpfiles handle it

In case the distribution creates or ships resolv.conf, delete it and let tmpfiles handle it
This commit is contained in:
Luca Boccassi
2023-04-23 13:02:06 +01:00
parent f997f91d7d
commit 7cd64af54d

View File

@@ -75,3 +75,6 @@ if command -v authselect >/dev/null; then
authselect enable-feature with-homed
fi
fi
# Let tmpfiles.d/systemd-resolve.conf handle the symlink
rm -f /etc/resolv.conf