commit: ca4edd613467104a28118150a0bb1d2ea55a51e2
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 23 18:25:51 2021 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Tue Nov 23 18:27:27 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca4edd61
sys-apps/systemd: do not reexec systemd
This was added to aid in the rootprefix migration years ago.
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
sys-apps/systemd/systemd-249.6.ebuild | 6 ------
sys-apps/systemd/systemd-9999.ebuild | 6 ------
2 files changed, 12 deletions(-)
diff --git a/sys-apps/systemd/systemd-249.6.ebuild
b/sys-apps/systemd/systemd-249.6.ebuild
index 6671b0b73702..b0ff3632f09e 100644
--- a/sys-apps/systemd/systemd-249.6.ebuild
+++ b/sys-apps/systemd/systemd-249.6.ebuild
@@ -498,12 +498,6 @@ pkg_postinst() {
rm "${EROOT}/var/lib/systemd/timesync"
fi
- if [[ -z ${ROOT} && -d /run/systemd/system ]]; then
- ebegin "Reexecuting system manager"
- systemctl daemon-reexec
- eend $?
- fi
-
if [[ ${FAIL} ]]; then
eerror "One of the postinst commands failed. Please check the
postinst output"
eerror "for errors. You may need to clean up your system and/or
try installing"
diff --git a/sys-apps/systemd/systemd-9999.ebuild
b/sys-apps/systemd/systemd-9999.ebuild
index 9283d37090fb..7f2653050c1c 100644
--- a/sys-apps/systemd/systemd-9999.ebuild
+++ b/sys-apps/systemd/systemd-9999.ebuild
@@ -513,12 +513,6 @@ pkg_postinst() {
rm "${EROOT}/var/lib/systemd/timesync"
fi
- if [[ -z ${ROOT} && -d /run/systemd/system ]]; then
- ebegin "Reexecuting system manager"
- systemctl daemon-reexec
- eend $?
- fi
-
if [[ ${FAIL} ]]; then
eerror "One of the postinst commands failed. Please check the
postinst output"
eerror "for errors. You may need to clean up your system and/or
try installing"