]> git.ipfire.org Git - thirdparty/mkosi.git/commit
Stop patching nsswitch.conf and make resolv.conf points to stub-resolv.conf on Arch... 213/head
authorLénaïc Huard <lenaic@lhuard.fr>
Sun, 7 Jan 2018 21:27:51 +0000 (22:27 +0100)
committerLénaïc Huard <lenaic@lhuard.fr>
Sun, 7 Jan 2018 21:57:54 +0000 (22:57 +0100)
commit4cf823756a099277083a5908ed5335882ad3cf2b
tree55697c28beaecc1cdee771e0dcc03a9b60719721
parent531b2292c4bd672247ae13a1638ec969aee92781
Stop patching nsswitch.conf and make resolv.conf points to stub-resolv.conf on Arch Linux

The `nsswitch.conf` file that comes by default on Arch Linux is now fully systemd-resolved compatible.
Its `hosts:` line is now:
```
hosts: files mymachines resolve [!UNAVAIL=return] dns myhostname
```
So, there is no need to patch this file when enabling systemd-resolved on Arch Linux anymore.

Also make `/etc/resolv.conf` points to the new dynamic `/run/systemd/resolve/stub-resolv.conf` rather than the older static `/usr/lib/systemd/resolv.conf`.
mkosi