mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-22 23:11:07 +02:00
fix(sys-apps/systemd): Add tmpfiles rule for resolv.conf
This path has changed after v213 so it must be handled here instead of baselayout now.
This commit is contained in:
parent
09f3152319
commit
a775be854a
1
sdk_container/src/third_party/coreos-overlay/sys-apps/systemd/files/213-systemd-resolv.conf
vendored
Normal file
1
sdk_container/src/third_party/coreos-overlay/sys-apps/systemd/files/213-systemd-resolv.conf
vendored
Normal file
@ -0,0 +1 @@
|
||||
L /etc/resolv.conf - - - - /run/systemd/network/resolv.conf
|
1
sdk_container/src/third_party/coreos-overlay/sys-apps/systemd/files/systemd-resolv.conf
vendored
Normal file
1
sdk_container/src/third_party/coreos-overlay/sys-apps/systemd/files/systemd-resolv.conf
vendored
Normal file
@ -0,0 +1 @@
|
||||
L /etc/resolv.conf - - - - /run/systemd/resolve/resolv.conf
|
@ -359,6 +359,7 @@ multilib_src_install_all() {
|
||||
mv "${D}"/usr/lib/sysctl.d/50-coredump.conf{,.disabled} || die
|
||||
|
||||
systemd_dotmpfilesd "${FILESDIR}"/systemd-coreos.conf
|
||||
systemd_newtmpfilesd "${FILESDIR}"/213-systemd-resolv.conf systemd-resolv.conf
|
||||
|
||||
# Don't default to graphical.target
|
||||
rm "${D}"/usr/lib/systemd/system/default.target || die
|
@ -354,6 +354,7 @@ multilib_src_install_all() {
|
||||
mv "${D}"/usr/lib/sysctl.d/50-coredump.conf{,.disabled} || die
|
||||
|
||||
systemd_dotmpfilesd "${FILESDIR}"/systemd-coreos.conf
|
||||
systemd_dotmpfilesd "${FILESDIR}"/systemd-resolv.conf
|
||||
|
||||
# Don't default to graphical.target
|
||||
rm "${D}"/usr/lib/systemd/system/default.target || die
|
||||
|
Loading…
x
Reference in New Issue
Block a user