build: keep downloaded packages in mkosi.pkgcache
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2 files changed
+6
No files matched your search
@@ -1,2 +1,3 @@
|
|||||||
mkosi.output/
|
mkosi.output/
|
||||||
mkosi.key
|
mkosi.key
|
||||||
|
mkosi.pkgcache/
|
||||||
@@ -19,6 +19,11 @@ SplitArtifacts=uki,partitions
|
|||||||
# affects. .gitea/workflows/os.yml publishes it with the image.
|
# affects. .gitea/workflows/os.yml publishes it with the image.
|
||||||
ManifestFormat=json
|
ManifestFormat=json
|
||||||
|
|
||||||
|
[Build]
|
||||||
|
# Keeps downloaded packages between builds, also when mkosi runs in a
|
||||||
|
# throwaway container (AGENTS.md). dnf still installs the newest versions.
|
||||||
|
PackageCacheDirectory=mkosi.pkgcache
|
||||||
|
|
||||||
[Content]
|
[Content]
|
||||||
Bootable=yes
|
Bootable=yes
|
||||||
Bootloader=systemd-boot
|
Bootloader=systemd-boot
|
||||||
|
|||||||
Reference in new issue
Block a user