mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-15 17:06:58 +02:00
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:
parent
cd80387051
commit
d9972d4ad1
1
sdk_container/src/third_party/coreos-overlay/sys-apps/systemd/systemd-250.3-r1.ebuild
vendored
Symbolic link
1
sdk_container/src/third_party/coreos-overlay/sys-apps/systemd/systemd-250.3-r1.ebuild
vendored
Symbolic link
@ -0,0 +1 @@
|
||||
systemd-250.3.ebuild
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user