aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2024-03-22 20:20:18 +0700
committerShulhan <ms@kilabit.info>2024-03-22 20:21:54 +0700
commit4d4a9269271fe45acb2a05b7c6d07f52babcdd9e (patch)
treea3e25c4383c302dd5314f34f0c6af08c0bfb4645
parent4256714958ea08c922a4f044225053e35385d451 (diff)
downloadawwan-4d4a9269271fe45acb2a05b7c6d07f52babcdd9e.tar.xz
_ops: use shared mkosi cache in user's home ".cache"
This is to minimize duplicate files and allow us to find or grep files without excluding certains directory.
-rw-r--r--_ops/awwan-test/mkosi.conf2
-rw-r--r--_ops/awwan-tour/mkosi.conf2
-rw-r--r--_ops/mkosi.cache/.gitignore2
3 files changed, 2 insertions, 4 deletions
diff --git a/_ops/awwan-test/mkosi.conf b/_ops/awwan-test/mkosi.conf
index bf98c4d..463ef2a 100644
--- a/_ops/awwan-test/mkosi.conf
+++ b/_ops/awwan-test/mkosi.conf
@@ -1,5 +1,5 @@
[Output]
-CacheDirectory=../mkosi.cache/
+CacheDirectory=~/.cache/mkosi/
Format=tar
Output=awwan-test
OutputDirectory=/data/awwan/
diff --git a/_ops/awwan-tour/mkosi.conf b/_ops/awwan-tour/mkosi.conf
index 2372acb..ca4d1c7 100644
--- a/_ops/awwan-tour/mkosi.conf
+++ b/_ops/awwan-tour/mkosi.conf
@@ -1,5 +1,5 @@
[Output]
-CacheDirectory=../mkosi.cache/
+CacheDirectory=~/.cache/mkosi/
Format=tar
Output=awwan-tour
OutputDirectory=/data/awwan/
diff --git a/_ops/mkosi.cache/.gitignore b/_ops/mkosi.cache/.gitignore
deleted file mode 100644
index 120f485..0000000
--- a/_ops/mkosi.cache/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*
-!/.gitignore