commit: a4f0612d4162d937652c34200e3de0925d113e05
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 28 22:00:59 2020 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sun Mar 29 01:35:14 2020 +0000
URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=a4f0612d
catalyst: Skip "maybe_tmpfs" directory creation
Fixes: 8441372c2857 (fix /var/tmp/portage not being forced into a tmpfs)
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
catalyst/base/stagebase.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py
index 939e03e2..4855c9f0 100644
--- a/catalyst/base/stagebase.py
+++ b/catalyst/base/stagebase.py
@@ -963,7 +963,7 @@ class StageBase(TargetBase, ClearBase, GenBase):
ensure_dirs(target, mode=0o755)
if not os.path.exists(self.mountmap[x]):
- if self.mountmap[x] not in ["tmpfs", "shmfs"]:
+ if self.mountmap[x] not in ("maybe_tmpfs",
"tmpfs", "shmfs"):
ensure_dirs(self.mountmap[x],
mode=0o755)
src = self.mountmap[x]