From: Daan De Meyer Date: Wed, 31 Jan 2024 15:59:47 +0000 (+0100) Subject: Use context.package_cache_dir in one more place X-Git-Tag: v21~76^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2338%2Fhead;p=thirdparty%2Fmkosi.git Use context.package_cache_dir in one more place --- diff --git a/mkosi/__init__.py b/mkosi/__init__.py index 9bb93ea85..39090194a 100644 --- a/mkosi/__init__.py +++ b/mkosi/__init__.py @@ -2968,7 +2968,7 @@ def copy_repository_metadata(context: Context) -> None: # the directories we want to exclude. exclude = flatten(["--ro-bind", tmp, os.fspath(p)] for p in caches) - dst = context.root / "mkosi" / d / subdir + dst = context.package_cache_dir / d / subdir with umask(~0o755): dst.mkdir(parents=True, exist_ok=True)