mirror of
https://github.com/systemd/systemd.git
synced 2026-08-11 01:25:28 +00:00
mkosi: Set CacheOnly=metadata for test images
The default behavior is to sync repository metadata for every image that does not have a cache and we recently changed behavior to invalidate all cached images whenever we decide the repository metadata needs to be resynced. In systemd we have two images that are not cached because they use BaseTrees= hence set CacheOnly=metadata to explicitly indicate these two images should never cause a repository metadata if resync even though they are not cached. (cherry picked from commit2a08e31cbd) (cherry picked from commit86d9a91be1)
This commit is contained in:
committed by
Luca Boccassi
parent
604ecfc30f
commit
a5e91d819b
@@ -10,6 +10,7 @@ SplitArtifacts=yes
|
||||
[Build]
|
||||
Environment=SYSTEMD_REPART_OVERRIDE_FSTYPE=squashfs
|
||||
Incremental=relaxed
|
||||
CacheOnly=metadata
|
||||
|
||||
[Content]
|
||||
BaseTrees=%O/minimal-base
|
||||
|
||||
@@ -10,6 +10,7 @@ SplitArtifacts=yes
|
||||
[Build]
|
||||
Environment=SYSTEMD_REPART_OVERRIDE_FSTYPE=squashfs
|
||||
Incremental=relaxed
|
||||
CacheOnly=metadata
|
||||
|
||||
[Content]
|
||||
BaseTrees=%O/minimal-base
|
||||
|
||||
Reference in New Issue
Block a user