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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3786215806E for ; Wed, 7 Jun 2023 09:20:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7C498E07D4; Wed, 7 Jun 2023 09:20:30 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 5C6E5E07D4 for ; Wed, 7 Jun 2023 09:20:30 +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 2F48C340D17 for ; Wed, 7 Jun 2023 09:20:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8B31DA7A for ; Wed, 7 Jun 2023 09:20:27 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1686129607.178c7aede770d6b04ab608fd2d36fd6e0cc27f10.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/resource-agents/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-cluster/resource-agents/resource-agents-4.12.0.ebuild X-VCS-Directories: sys-cluster/resource-agents/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 178c7aede770d6b04ab608fd2d36fd6e0cc27f10 X-VCS-Branch: master Date: Wed, 7 Jun 2023 09:20:27 +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: 1219c113-3abd-4377-996b-dee82d907718 X-Archives-Hash: 761815399c559fe07d555c8ae6e566bb commit: 178c7aede770d6b04ab608fd2d36fd6e0cc27f10 Author: Sam James gentoo org> AuthorDate: Wed Jun 7 09:20:04 2023 +0000 Commit: Sam James gentoo org> CommitDate: Wed Jun 7 09:20:07 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=178c7aed sys-cluster/resource-agents: fix tmpfiles for non-systemd Not keen on fixing the automagic myself given I don't use this and already spent too much time on it. Closes: https://bugs.gentoo.org/907987 Signed-off-by: Sam James gentoo.org> sys-cluster/resource-agents/resource-agents-4.12.0.ebuild | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sys-cluster/resource-agents/resource-agents-4.12.0.ebuild b/sys-cluster/resource-agents/resource-agents-4.12.0.ebuild index 075cef801923..8f4b33b8fea5 100644 --- a/sys-cluster/resource-agents/resource-agents-4.12.0.ebuild +++ b/sys-cluster/resource-agents/resource-agents-4.12.0.ebuild @@ -40,6 +40,7 @@ src_prepare() { } src_configure() { + # TODO: fix systemd automagic # --with-ocf-root needs to be /usr/lib, see bug #720420 econf \ --disable-fatal-warnings \ @@ -58,6 +59,12 @@ src_install() { rm -rf "${ED}"{,/var}/run || die use rgmanager || rm -rf "${ED}"/usr/share/cluster/ "${ED}"/var/ + + if ! use systemd ; then + newtmpfiles - resource-agents.conf <<-EOF || die + d /var/run/resource-agents 1755 root root + EOF + fi } pkg_postinst() {