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
This commit is contained in:
Mike Gilbert
2017-07-17 11:07:58 -04:00
parent af9fcf384b
commit ff2cb87e10
+5
View File
@@ -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() {