]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
systemd: Don't install resolv.conf symlink when resolved is disabled
authorAndreas Oberritter <obi@opendreambox.org>
Fri, 9 Mar 2018 00:07:42 +0000 (01:07 +0100)
committerAndreas Oberritter <obi@opendreambox.org>
Thu, 2 Jul 2020 10:18:39 +0000 (12:18 +0200)
commit5206c8cf140b29e4dd0ff1a9872fda00ed9e9f25
tree28a434fc0d5664f0b7923bd89b83fa8fe14c26fe
parent4ae21e7db436af2b3cda9138db76ed890b7c4f00
systemd: Don't install resolv.conf symlink when resolved is disabled

There's no point in letting systemd install it, if systemd doesn't
provide DNS. Let other services like resolvconf or connman do that,
because only they know the location they expect.

This also fixes a problem during do_rootfs with apt and dpkg's
update-alternatives:

| update-alternatives: error: alternative path /etc/resolv-conf.systemd doesn't exist
| dpkg: error processing package systemd:armhf (--configure):
|  subprocess installed post-installation script returned error exit status 2

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
meta/recipes-core/systemd/systemd_243.2.bb