Gentoo Archives: gentoo-commits

From: Brian Dolbec <brian.dolbec@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/catalyst:pending commit in: catalyst/targets/
Date: Thu, 02 Jan 2014 00:04:46
Message-Id: 1388620548.9e3e5221124d36f44af0d01b677fde1b1e657b91.dol-sen@gentoo
1 commit: 9e3e5221124d36f44af0d01b677fde1b1e657b91
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 31 18:55:19 2013 +0000
4 Commit: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com>
5 CommitDate: Wed Jan 1 23:55:48 2014 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/catalyst.git;a=commit;h=9e3e5221
7
8 catalyst/targets/generic_stage_target.py: mount /dev/shm on linux
9
10 Some build systems require /dev/shm to be mounted, like python's
11 build system. We make sure that on Linux systems, /dev/shm is
12 mounted in the stage chroots. See bug #496328.
13
14 ---
15 catalyst/targets/generic_stage_target.py | 1 +
16 1 file changed, 1 insertion(+)
17
18 diff --git a/catalyst/targets/generic_stage_target.py b/catalyst/targets/generic_stage_target.py
19 index 65d3133..2ca3913 100644
20 --- a/catalyst/targets/generic_stage_target.py
21 +++ b/catalyst/targets/generic_stage_target.py
22 @@ -224,6 +224,7 @@ class generic_stage_target(generic_target):
23 #self.mountmap["portdir"] = None
24 if os.uname()[0] == "Linux":
25 self.mounts.append("devpts")
26 + self.mounts.append("shm")
27
28 self.set_mounts()