diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-09-28 13:23:16 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-09-28 13:23:16 +0200 |
commit | 773ba1701f94bdd46086d294efcf97985b67841d (patch) | |
tree | 03ed65d27d2976585d1909a577f1f3a3207790d3 | |
parent | Revert "prepare_build_dirs: Fix copytree() on Python 3.7" (diff) | |
download | portage-773ba1701f94bdd46086d294efcf97985b67841d.tar.gz portage-773ba1701f94bdd46086d294efcf97985b67841d.tar.bz2 portage-773ba1701f94bdd46086d294efcf97985b67841d.zip |
Attempt to fix creating FILESDIR properly
Since we perform a mode fixup on FILESDIR anyway, just let copytree()
create it. This should finally fix all the problems: have the directory
created without errors and work with Python < 3.8.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r-- | lib/portage/package/ebuild/prepare_build_dirs.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/portage/package/ebuild/prepare_build_dirs.py b/lib/portage/package/ebuild/prepare_build_dirs.py index 0ae93a1d5..41de1a3a9 100644 --- a/lib/portage/package/ebuild/prepare_build_dirs.py +++ b/lib/portage/package/ebuild/prepare_build_dirs.py @@ -480,7 +480,6 @@ def _ensure_log_subdirs(logdir, subdir): def _prepare_fake_filesdir(settings): real_filesdir = settings["O"] + "/files" filesdir = settings["FILESDIR"] - portage.util.ensure_dirs(filesdir, mode=0o755) # Copy files from real directory to ebuild directory (without metadata). if os.path.isdir(real_filesdir): |