commit:     ff2cb87e10c11e2a4b824c8b5465abfa4872d2ba
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 17 15:07:41 2017 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Mon Jul 17 15:07:58 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff2cb87e

sys-apps/systemd: add warning to rebuild system generators

Bug: https://bugs.gentoo.org/625402
Package-Manager: Portage-2.3.6_p16, Repoman-2.3.2_p84

 sys-apps/systemd/systemd-234.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/sys-apps/systemd/systemd-234.ebuild 
b/sys-apps/systemd/systemd-234.ebuild
index 29d13ba5bf1..c80965e1c39 100644
--- a/sys-apps/systemd/systemd-234.ebuild
+++ b/sys-apps/systemd/systemd-234.ebuild
@@ -436,6 +436,11 @@ pkg_postinst() {
                ewarn "You should replace the resolv.conf symlink:"
                ewarn "ln -snf ${ROOTPREFIX%/}/lib/systemd/resolv.conf 
${ROOT}etc/resolv.conf"
        fi
+
+       if [[ -e "${EROOT%/}"/usr/lib/systemd/system-generators ]]; then
+               ewarn "Please rebuild any packages which install system 
generators."
+               ewarn "  emerge --oneshot --usepkg=n 
/usr/lib/systemd/system-generators"
+       fi
 }
 
 pkg_prerm() {

Reply via email to