projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6832754
)
sys-cluster/slurm: remove EnvironmentFile from systemd units
author
Mikle Kolyada
<zlogene@gentoo.org>
Sun, 20 Oct 2019 18:35:14 +0000
(21:35 +0300)
committer
Mikle Kolyada
<zlogene@gentoo.org>
Sun, 20 Oct 2019 18:35:52 +0000
(21:35 +0300)
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
sys-cluster/slurm/slurm-18.08.7.ebuild
patch
|
blob
|
history
diff --git
a/sys-cluster/slurm/slurm-18.08.7.ebuild
b/sys-cluster/slurm/slurm-18.08.7.ebuild
index b260ae6e392556cba776d31bd4f6a462f21e52fe..69c7fcf16db31c9c4fde56f44ba560b2e10f1467 100644
(file)
--- a/
sys-cluster/slurm/slurm-18.08.7.ebuild
+++ b/
sys-cluster/slurm/slurm-18.08.7.ebuild
@@
-216,6
+216,12
@@
src_install() {
# install systemd files
systemd_newtmpfilesd "${FILESDIR}/slurm.tmpfiles" slurm.conf
systemd_dounit etc/slurmd.service etc/slurmctld.service etc/slurmdbd.service
+
+ cd "${D}"/lib/systemd/system || die
+
+ for file in slurm*; do
+ sed -i -e '/^EnvironmentFile=.*/d' ${file} || die
+ done
}
pkg_preinst() {