]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Use context.package_cache_dir in one more place 2338/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 31 Jan 2024 15:59:47 +0000 (16:59 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 1 Feb 2024 07:48:13 +0000 (08:48 +0100)
mkosi/__init__.py

index 9bb93ea85b7458707304632cb5657c0bf8ce056d..39090194ac3416b390303ab6c87a9a70d3143e88 100644 (file)
@@ -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)