Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/catalyst:master commit in: catalyst/base/
Date: Sun, 29 Mar 2020 17:48:50
Message-Id: 1585445714.a4f0612d4162d937652c34200e3de0925d113e05.mattst88@gentoo
1 commit: a4f0612d4162d937652c34200e3de0925d113e05
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 28 22:00:59 2020 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 29 01:35:14 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=a4f0612d
7
8 catalyst: Skip "maybe_tmpfs" directory creation
9
10 Fixes: 8441372c2857 (fix /var/tmp/portage not being forced into a tmpfs)
11 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
12
13 catalyst/base/stagebase.py | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16 diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py
17 index 939e03e2..4855c9f0 100644
18 --- a/catalyst/base/stagebase.py
19 +++ b/catalyst/base/stagebase.py
20 @@ -963,7 +963,7 @@ class StageBase(TargetBase, ClearBase, GenBase):
21 ensure_dirs(target, mode=0o755)
22
23 if not os.path.exists(self.mountmap[x]):
24 - if self.mountmap[x] not in ["tmpfs", "shmfs"]:
25 + if self.mountmap[x] not in ("maybe_tmpfs", "tmpfs", "shmfs"):
26 ensure_dirs(self.mountmap[x], mode=0o755)
27
28 src = self.mountmap[x]