From: "Alexey Shvetsov" <alexxy@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sys-cluster/slurm/
Date: Sun, 3 Jul 2011 20:27:38 +0000 (UTC) [thread overview]
Message-ID: <0345b7745b75bb80608bd5dc7e8694affca8a75a.alexxy@gentoo> (raw)
commit: 0345b7745b75bb80608bd5dc7e8694affca8a75a
Author: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 3 20:26:51 2011 +0000
Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
CommitDate: Sun Jul 3 20:26:51 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=0345b774
Fix cgroup location
(Portage version: 2.2.0_alpha43/git/Linux x86_64, signed Manifest commit with key F82F92E6)
---
sys-cluster/slurm/slurm-2.2.7.ebuild | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/sys-cluster/slurm/slurm-2.2.7.ebuild b/sys-cluster/slurm/slurm-2.2.7.ebuild
index 21a3aeb..4bc31bd 100644
--- a/sys-cluster/slurm/slurm-2.2.7.ebuild
+++ b/sys-cluster/slurm/slurm-2.2.7.ebuild
@@ -31,6 +31,16 @@ pkg_setup() {
enewuser slurm -1 -1 /var/spool/slurm slurm
}
+src_prepare() {
+ # gentoo uses /sys/fs/cgroup instead of /dev/cgroup
+ sed -e 's:/dev/cgroup:/sys/fs/cgroup:g' \
+ -i "${S}/doc/man/man5/cgroup.conf.5" \
+ -i "${S}/etc/cgroup.conf.example" \
+ -i "${S}/etc/cgroup.release_agent" \
+ -i "${S}/src/plugins/proctrack/cgroup/xcgroup.h" \
+ || die
+}
+
src_configure() {
local myconf=(
--sysconfdir="${EPREFIX}/etc/${PN}"
next reply other threads:[~2011-07-03 20:27 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-03 20:27 Alexey Shvetsov [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-07-03 23:14 [gentoo-commits] proj/sci:master commit in: sys-cluster/slurm/ Alexey Shvetsov
2011-07-03 22:40 Alexey Shvetsov
2011-07-03 22:15 Alexey Shvetsov
2011-07-03 21:57 Alexey Shvetsov
2011-07-03 19:58 Alexey Shvetsov
2011-07-03 19:37 Alexey Shvetsov
2011-07-03 19:31 Alexey Shvetsov
2011-07-03 19:22 Alexey Shvetsov
2011-07-03 19:15 Alexey Shvetsov
2011-07-03 19:07 Alexey Shvetsov
2011-07-03 16:59 Alexey Shvetsov
2011-07-03 16:58 Alexey Shvetsov
2011-07-03 16:56 Alexey Shvetsov
2011-07-03 16:41 Alexey Shvetsov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0345b7745b75bb80608bd5dc7e8694affca8a75a.alexxy@gentoo \
--to=alexxy@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox