diff options
author | Sam James <sam@gentoo.org> | 2023-06-07 10:20:04 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-06-07 10:20:07 +0100 |
commit | 178c7aede770d6b04ab608fd2d36fd6e0cc27f10 (patch) | |
tree | dac94838122ed2f7086290649ae3592fc80cd17f /sys-cluster/resource-agents | |
parent | sys-block/ndctl: add github upstream metadata (diff) | |
download | gentoo-178c7aede770d6b04ab608fd2d36fd6e0cc27f10.tar.gz gentoo-178c7aede770d6b04ab608fd2d36fd6e0cc27f10.tar.bz2 gentoo-178c7aede770d6b04ab608fd2d36fd6e0cc27f10.zip |
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 <sam@gentoo.org>
Diffstat (limited to 'sys-cluster/resource-agents')
-rw-r--r-- | sys-cluster/resource-agents/resource-agents-4.12.0.ebuild | 7 |
1 files changed, 7 insertions, 0 deletions
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() { |