1 |
commit: ff2cb87e10c11e2a4b824c8b5465abfa4872d2ba |
2 |
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jul 17 15:07:41 2017 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 17 15:07:58 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff2cb87e |
7 |
|
8 |
sys-apps/systemd: add warning to rebuild system generators |
9 |
|
10 |
Bug: https://bugs.gentoo.org/625402 |
11 |
Package-Manager: Portage-2.3.6_p16, Repoman-2.3.2_p84 |
12 |
|
13 |
sys-apps/systemd/systemd-234.ebuild | 5 +++++ |
14 |
1 file changed, 5 insertions(+) |
15 |
|
16 |
diff --git a/sys-apps/systemd/systemd-234.ebuild b/sys-apps/systemd/systemd-234.ebuild |
17 |
index 29d13ba5bf1..c80965e1c39 100644 |
18 |
--- a/sys-apps/systemd/systemd-234.ebuild |
19 |
+++ b/sys-apps/systemd/systemd-234.ebuild |
20 |
@@ -436,6 +436,11 @@ pkg_postinst() { |
21 |
ewarn "You should replace the resolv.conf symlink:" |
22 |
ewarn "ln -snf ${ROOTPREFIX%/}/lib/systemd/resolv.conf ${ROOT}etc/resolv.conf" |
23 |
fi |
24 |
+ |
25 |
+ if [[ -e "${EROOT%/}"/usr/lib/systemd/system-generators ]]; then |
26 |
+ ewarn "Please rebuild any packages which install system generators." |
27 |
+ ewarn " emerge --oneshot --usepkg=n /usr/lib/systemd/system-generators" |
28 |
+ fi |
29 |
} |
30 |
|
31 |
pkg_prerm() { |