diff options
author | 2023-12-10 20:11:15 +0100 | |
---|---|---|
committer | 2023-12-10 20:12:38 +0100 | |
commit | a75d4fc0b832d7df94303c51da2cecb0b0aeee3b (patch) | |
tree | 591936b169a28d11eceeafa6cc0be1a185fc6cc6 /sys-apps/systemd | |
parent | sys-apps/systemd: add 255 (diff) | |
download | gentoo-a75d4fc0b832d7df94303c51da2cecb0b0aeee3b.tar.gz gentoo-a75d4fc0b832d7df94303c51da2cecb0b0aeee3b.tar.bz2 gentoo-a75d4fc0b832d7df94303c51da2cecb0b0aeee3b.zip |
sys-apps/systemd: sync live
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'sys-apps/systemd')
-rw-r--r-- | sys-apps/systemd/systemd-9999.ebuild | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys-apps/systemd/systemd-9999.ebuild b/sys-apps/systemd/systemd-9999.ebuild index 412ecb66e468..a5c20a8b0bde 100644 --- a/sys-apps/systemd/systemd-9999.ebuild +++ b/sys-apps/systemd/systemd-9999.ebuild @@ -487,6 +487,12 @@ pkg_postinst() { rm "${EROOT}/var/lib/systemd/timesync" fi + if [[ -z ${ROOT} && -d /run/systemd/system ]]; then + ebegin "Reexecuting system manager (systemd)" + systemctl daemon-reexec + eend $? || FAIL=1 + 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" |