1 |
commit: 5f563e551d7cb99edd3af4427186cc250a811f04 |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 30 20:59:25 2022 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 30 20:59:25 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=5f563e55 |
7 |
|
8 |
catalyst: Create snapcache directory |
9 |
|
10 |
Apparently the snakeoil locking mechanisms implicitly created the |
11 |
directory for us. |
12 |
|
13 |
Closes: https://bugs.gentoo.org/806229 |
14 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
15 |
|
16 |
catalyst/base/stagebase.py | 1 + |
17 |
1 file changed, 1 insertion(+) |
18 |
|
19 |
diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py |
20 |
index 28c4ee23..0cb43033 100644 |
21 |
--- a/catalyst/base/stagebase.py |
22 |
+++ b/catalyst/base/stagebase.py |
23 |
@@ -879,6 +879,7 @@ class StageBase(TargetBase, ClearBase, GenBase): |
24 |
unpack = False |
25 |
|
26 |
if unpack: |
27 |
+ ensure_dirs(self.settings['snapshot_cache_path']) |
28 |
if os.path.exists(target_portdir): |
29 |
log.info('%s', cleanup_msg) |
30 |
clear_dir(target_portdir) |