From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 204A2158013 for ; Sun, 10 Dec 2023 19:13:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5CD502BC01E; Sun, 10 Dec 2023 19:12:59 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3898B2BC01C for ; Sun, 10 Dec 2023 19:12:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 60B9433FE2A for ; Sun, 10 Dec 2023 19:12:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A422614AC for ; Sun, 10 Dec 2023 19:12:56 +0000 (UTC) From: "Florian Schmaus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" Message-ID: <1702235558.a75d4fc0b832d7df94303c51da2cecb0b0aeee3b.flow@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/systemd/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/systemd/systemd-9999.ebuild X-VCS-Directories: sys-apps/systemd/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: a75d4fc0b832d7df94303c51da2cecb0b0aeee3b X-VCS-Branch: master Date: Sun, 10 Dec 2023 19:12:56 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 31f747c5-5dfe-42cf-b0be-501b78ece540 X-Archives-Hash: aeb2b58f186e3175d9bce20b6b755ce2 commit: a75d4fc0b832d7df94303c51da2cecb0b0aeee3b Author: Florian Schmaus gentoo org> AuthorDate: Sun Dec 10 19:11:15 2023 +0000 Commit: Florian Schmaus gentoo org> CommitDate: Sun Dec 10 19:12:38 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a75d4fc0 sys-apps/systemd: sync live Signed-off-by: Florian Schmaus gentoo.org> sys-apps/systemd/systemd-9999.ebuild | 6 ++++++ 1 file changed, 6 insertions(+) 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"