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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A6364138334 for ; Sun, 20 Oct 2019 18:36:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EB92EE0B01; Sun, 20 Oct 2019 18:36:00 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D54C5E0B01 for ; Sun, 20 Oct 2019 18:36:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B993D34C0B5 for ; Sun, 20 Oct 2019 18:35:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 623A3828 for ; Sun, 20 Oct 2019 18:35:57 +0000 (UTC) From: "Mikle Kolyada" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mikle Kolyada" Message-ID: <1571596552.75377bdf192a71ab1c742c59706eec073179d5b6.zlogene@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/slurm/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-cluster/slurm/slurm-18.08.7.ebuild X-VCS-Directories: sys-cluster/slurm/ X-VCS-Committer: zlogene X-VCS-Committer-Name: Mikle Kolyada X-VCS-Revision: 75377bdf192a71ab1c742c59706eec073179d5b6 X-VCS-Branch: master Date: Sun, 20 Oct 2019 18:35:57 +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: 72936ce5-fce4-456d-8208-bce19f15efb8 X-Archives-Hash: 34a557bf28e0ec9788886e0180bcc79b commit: 75377bdf192a71ab1c742c59706eec073179d5b6 Author: Mikle Kolyada gentoo org> AuthorDate: Sun Oct 20 18:35:14 2019 +0000 Commit: Mikle Kolyada gentoo org> CommitDate: Sun Oct 20 18:35:52 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75377bdf sys-cluster/slurm: remove EnvironmentFile from systemd units Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Mikle Kolyada gentoo.org> sys-cluster/slurm/slurm-18.08.7.ebuild | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sys-cluster/slurm/slurm-18.08.7.ebuild b/sys-cluster/slurm/slurm-18.08.7.ebuild index b260ae6e392..69c7fcf16db 100644 --- 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() {