]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
mkosi: Use cache and build subdirectories
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Sat, 28 Oct 2023 08:37:16 +0000 (10:37 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Sat, 28 Oct 2023 10:30:18 +0000 (11:30 +0100)
Next release of mkosi will not use subdirectories under the cache
and build directory by default anymore, so let's make sure we already
start creating those ourselves.

mkosi.conf.d/10-systemd.conf

index 883ffc9cf261129483eda7fa04aaf2d44e43e182..02dfbedbe85d7a404b2a1969758406e5167a04d0 100644 (file)
@@ -5,8 +5,8 @@ Presets=system
 
 [Output]
 OutputDirectory=mkosi.output
-BuildDirectory=mkosi.builddir
-CacheDirectory=mkosi.cache
+CacheDirectory=mkosi.cache/%d~%r~%a
+BuildDirectory=mkosi.builddir/%d~%r~%a
 
 [Content]
 # Prevent ASAN warnings when building the image and ship the real ASAN options prefixed with MKOSI_.