1 |
commit: 773ba1701f94bdd46086d294efcf97985b67841d |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 28 11:23:16 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 28 11:23:16 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=773ba170 |
7 |
|
8 |
Attempt to fix creating FILESDIR properly |
9 |
|
10 |
Since we perform a mode fixup on FILESDIR anyway, just let copytree() |
11 |
create it. This should finally fix all the problems: have the directory |
12 |
created without errors and work with Python < 3.8. |
13 |
|
14 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
15 |
|
16 |
lib/portage/package/ebuild/prepare_build_dirs.py | 1 - |
17 |
1 file changed, 1 deletion(-) |
18 |
|
19 |
diff --git a/lib/portage/package/ebuild/prepare_build_dirs.py b/lib/portage/package/ebuild/prepare_build_dirs.py |
20 |
index 0ae93a1d5..41de1a3a9 100644 |
21 |
--- a/lib/portage/package/ebuild/prepare_build_dirs.py |
22 |
+++ b/lib/portage/package/ebuild/prepare_build_dirs.py |
23 |
@@ -480,7 +480,6 @@ def _ensure_log_subdirs(logdir, subdir): |
24 |
def _prepare_fake_filesdir(settings): |
25 |
real_filesdir = settings["O"] + "/files" |
26 |
filesdir = settings["FILESDIR"] |
27 |
- portage.util.ensure_dirs(filesdir, mode=0o755) |
28 |
|
29 |
# Copy files from real directory to ebuild directory (without metadata). |
30 |
if os.path.isdir(real_filesdir): |