sys-apps/systemd: fix tmpfile entry for resolv.conf link

Our ebuild modifies the systemd owned tmpfiles.d entry that creates the
/etc/resolv.conf symlink to point to resolv.conf instead of stub-resolv.conf.
The file that contains that entry changed from etc.conf.in to
systemd-resolve.conf, so update the ebuild to touch that file.
This commit is contained in:
Jeremi Piotrowski 2022-07-25 18:55:06 +02:00
parent cd80387051
commit d9972d4ad1
2 changed files with 2 additions and 1 deletions

View File

@ -0,0 +1 @@
systemd-250.3.ebuild

View File

@ -272,7 +272,7 @@ src_prepare() {
# /run/systemd/resolve/stub-resolv.conf (and if using K8s
# configure the kubelet resolvConf variable/--resolv-conf flag
# to /run/systemd/resolve/resolv.conf).
sed -i -e 's,/run/systemd/resolve/stub-resolv.conf,/run/systemd/resolve/resolv.conf,' tmpfiles.d/etc.conf.in || die
sed -i -e 's,/run/systemd/resolve/stub-resolv.conf,/run/systemd/resolve/resolv.conf,' tmpfiles.d/systemd-resolve.conf || die
default
}