mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-10 06:57:08 -08:00
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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user