summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2016-07-30 10:48:01 -0400
committerMike Gilbert <floppym@gentoo.org>2016-07-30 11:46:34 -0400
commit6c6cd74d053dcbe1d7e6a8217c7674e07f4c74ca (patch)
tree2af018afb3dd588e1f67ad3886d9b5005f3b435b /sys-apps/systemd
parentdev-python/aiohttp: remove version 0.21.4 (diff)
downloadgentoo-6c6cd74d053dcbe1d7e6a8217c7674e07f4c74ca.tar.gz
gentoo-6c6cd74d053dcbe1d7e6a8217c7674e07f4c74ca.tar.bz2
gentoo-6c6cd74d053dcbe1d7e6a8217c7674e07f4c74ca.zip
sys-apps/systemd: update resolv.conf warning
Package-Manager: portage-2.3.0_p16
Diffstat (limited to 'sys-apps/systemd')
-rw-r--r--sys-apps/systemd/systemd-9999.ebuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/sys-apps/systemd/systemd-9999.ebuild b/sys-apps/systemd/systemd-9999.ebuild
index a470187a1ce7..b0e8183ab0a4 100644
--- a/sys-apps/systemd/systemd-9999.ebuild
+++ b/sys-apps/systemd/systemd-9999.ebuild
@@ -480,11 +480,9 @@ pkg_postinst() {
eerror
fi
- if [[ $(readlink "${ROOT}"/etc/resolv.conf) == */run/systemd/network/resolv.conf ]]; then
- ewarn "resolv.conf is now generated by systemd-resolved. To use it, enable"
- ewarn "systemd-resolved.service, and create a symlink from /etc/resolv.conf"
- ewarn "to /run/systemd/resolve/resolv.conf"
- ewarn
+ if [[ $(readlink "${ROOT}"etc/resolv.conf) == */run/systemd/* ]]; then
+ ewarn "You should replace the resolv.conf symlink:"
+ ewarn "ln -snf ${ROOTPREFIX}/lib/systemd ${ROOT}etc/resolv.conf"
fi
}