summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Anderson <telans@posteo.de>2021-03-07 12:57:40 +0100
committerDavid Seifert <soap@gentoo.org>2021-03-07 12:57:40 +0100
commit2fe3a25abf359db42c9eaec21520b1d3f4e81808 (patch)
tree6e09787226a63f9636172c6db033a8dcb92f86e2 /sys-cluster/slurm
parentsys-auth/nss-pam-ldapd: migrate to tmpfiles.eclass (diff)
downloadgentoo-2fe3a25abf359db42c9eaec21520b1d3f4e81808.tar.gz
gentoo-2fe3a25abf359db42c9eaec21520b1d3f4e81808.tar.bz2
gentoo-2fe3a25abf359db42c9eaec21520b1d3f4e81808.zip
sys-cluster/slurm: migrate to tmpfiles.eclass
Package-Manager: Portage-3.0.16, Repoman-3.0.2 Signed-off-by: Theo Anderson <telans@posteo.de> Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sys-cluster/slurm')
-rw-r--r--sys-cluster/slurm/slurm-20.11.0.1-r100.ebuild6
-rw-r--r--sys-cluster/slurm/slurm-20.11.0.1.ebuild6
2 files changed, 6 insertions, 6 deletions
diff --git a/sys-cluster/slurm/slurm-20.11.0.1-r100.ebuild b/sys-cluster/slurm/slurm-20.11.0.1-r100.ebuild
index ab498c397291..860e614604ab 100644
--- a/sys-cluster/slurm/slurm-20.11.0.1-r100.ebuild
+++ b/sys-cluster/slurm/slurm-20.11.0.1-r100.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -21,7 +21,7 @@ else
KEYWORDS="~amd64 ~x86"
fi
-inherit autotools bash-completion-r1 lua-single pam perl-module prefix toolchain-funcs systemd ${INHERIT_GIT}
+inherit autotools bash-completion-r1 lua-single pam perl-module prefix toolchain-funcs systemd ${INHERIT_GIT} tmpfiles
DESCRIPTION="A Highly Scalable Resource Manager"
HOMEPAGE="https://www.schedmd.com https://github.com/SchedMD/slurm"
@@ -213,7 +213,7 @@ src_install() {
sreport sacctmgr squeue scancel sshare sbcast sinfo \
sprio sacct salloc sbatch srun sattach sdiag sstat
# install systemd files
- systemd_newtmpfilesd "${FILESDIR}/slurm.tmpfiles" slurm.conf
+ newtmpfiles "${FILESDIR}/slurm.tmpfiles" slurm.conf
systemd_dounit etc/slurmd.service etc/slurmctld.service etc/slurmdbd.service
}
diff --git a/sys-cluster/slurm/slurm-20.11.0.1.ebuild b/sys-cluster/slurm/slurm-20.11.0.1.ebuild
index e74fe466f7ea..78837b1cd3d2 100644
--- a/sys-cluster/slurm/slurm-20.11.0.1.ebuild
+++ b/sys-cluster/slurm/slurm-20.11.0.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -19,7 +19,7 @@ else
KEYWORDS="~amd64 ~x86"
fi
-inherit autotools bash-completion-r1 pam perl-module prefix toolchain-funcs systemd ${INHERIT_GIT}
+inherit autotools bash-completion-r1 pam perl-module prefix toolchain-funcs systemd ${INHERIT_GIT} tmpfiles
DESCRIPTION="A Highly Scalable Resource Manager"
HOMEPAGE="https://www.schedmd.com https://github.com/SchedMD/slurm"
@@ -205,7 +205,7 @@ src_install() {
sreport sacctmgr squeue scancel sshare sbcast sinfo \
sprio sacct salloc sbatch srun sattach sdiag sstat
# install systemd files
- systemd_newtmpfilesd "${FILESDIR}/slurm.tmpfiles" slurm.conf
+ newtmpfiles "${FILESDIR}/slurm.tmpfiles" slurm.conf
systemd_dounit etc/slurmd.service etc/slurmctld.service etc/slurmdbd.service
}