summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2017-07-17 11:07:41 -0400
committerMike Gilbert <floppym@gentoo.org>2017-07-17 11:07:58 -0400
commitff2cb87e10c11e2a4b824c8b5465abfa4872d2ba (patch)
treee091b661ea101fa9aaec918cb10ff375f94dff6e /sys-apps
parentsci-libs/libaec: version bump (diff)
downloadgentoo-ff2cb87e10c11e2a4b824c8b5465abfa4872d2ba.tar.gz
gentoo-ff2cb87e10c11e2a4b824c8b5465abfa4872d2ba.tar.bz2
gentoo-ff2cb87e10c11e2a4b824c8b5465abfa4872d2ba.zip
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
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/systemd/systemd-234.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys-apps/systemd/systemd-234.ebuild b/sys-apps/systemd/systemd-234.ebuild
index 29d13ba5bf10..c80965e1c39f 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() {