Commit d7e22f2
data: install tmpfiles.d/image-builder.conf to auto-clean cache
Our osbuild/image-builder cache is located in /var/cache/image-builder
and it can grow quite big. To avoid it growing out of bounds too much
add a tmpfile.d snippet to ensure that we clean content older than
14d. The 14d is a bit arbitrary, happy to change to longer or shorter
cache timeouts (side-note: we have a cache limit in osbuild and an LRU
there too but sources are currently not part of the cache limits in
osbuild).1 parent dc16ea1 commit d7e22f2
2 files changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
45 | 47 | | |
46 | 48 | | |
47 | 49 | | |
| |||
93 | 95 | | |
94 | 96 | | |
95 | 97 | | |
96 | | - | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
97 | 101 | | |
98 | 102 | | |
99 | 103 | | |
| |||
110 | 114 | | |
111 | 115 | | |
112 | 116 | | |
| 117 | + | |
| 118 | + | |
113 | 119 | | |
114 | 120 | | |
115 | 121 | | |
| |||
0 commit comments