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.
This commit is contained in:
@@ -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