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:
Michael Marineau 2014-06-11 16:49:18 -07:00
parent 09f3152319
commit a775be854a
4 changed files with 4 additions and 0 deletions

View File

@ -0,0 +1 @@
L /etc/resolv.conf - - - - /run/systemd/network/resolv.conf

View File

@ -0,0 +1 @@
L /etc/resolv.conf - - - - /run/systemd/resolve/resolv.conf

View File

@ -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

View File

@ -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