1 |
commit: ca4edd613467104a28118150a0bb1d2ea55a51e2 |
2 |
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 23 18:25:51 2021 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 23 18:27:27 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca4edd61 |
7 |
|
8 |
sys-apps/systemd: do not reexec systemd |
9 |
|
10 |
This was added to aid in the rootprefix migration years ago. |
11 |
|
12 |
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> |
13 |
|
14 |
sys-apps/systemd/systemd-249.6.ebuild | 6 ------ |
15 |
sys-apps/systemd/systemd-9999.ebuild | 6 ------ |
16 |
2 files changed, 12 deletions(-) |
17 |
|
18 |
diff --git a/sys-apps/systemd/systemd-249.6.ebuild b/sys-apps/systemd/systemd-249.6.ebuild |
19 |
index 6671b0b73702..b0ff3632f09e 100644 |
20 |
--- a/sys-apps/systemd/systemd-249.6.ebuild |
21 |
+++ b/sys-apps/systemd/systemd-249.6.ebuild |
22 |
@@ -498,12 +498,6 @@ pkg_postinst() { |
23 |
rm "${EROOT}/var/lib/systemd/timesync" |
24 |
fi |
25 |
|
26 |
- if [[ -z ${ROOT} && -d /run/systemd/system ]]; then |
27 |
- ebegin "Reexecuting system manager" |
28 |
- systemctl daemon-reexec |
29 |
- eend $? |
30 |
- fi |
31 |
- |
32 |
if [[ ${FAIL} ]]; then |
33 |
eerror "One of the postinst commands failed. Please check the postinst output" |
34 |
eerror "for errors. You may need to clean up your system and/or try installing" |
35 |
|
36 |
diff --git a/sys-apps/systemd/systemd-9999.ebuild b/sys-apps/systemd/systemd-9999.ebuild |
37 |
index 9283d37090fb..7f2653050c1c 100644 |
38 |
--- a/sys-apps/systemd/systemd-9999.ebuild |
39 |
+++ b/sys-apps/systemd/systemd-9999.ebuild |
40 |
@@ -513,12 +513,6 @@ pkg_postinst() { |
41 |
rm "${EROOT}/var/lib/systemd/timesync" |
42 |
fi |
43 |
|
44 |
- if [[ -z ${ROOT} && -d /run/systemd/system ]]; then |
45 |
- ebegin "Reexecuting system manager" |
46 |
- systemctl daemon-reexec |
47 |
- eend $? |
48 |
- fi |
49 |
- |
50 |
if [[ ${FAIL} ]]; then |
51 |
eerror "One of the postinst commands failed. Please check the postinst output" |
52 |
eerror "for errors. You may need to clean up your system and/or try installing" |