build: keep downloaded packages in mkosi.pkgcache

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Job79andClaude Opus 5.5 committed 2026-11-17 19:36:23 +01:00
1 parent 2439f58279
commit 51272b708c
2 files changed
+6

No files matched your search

+5
View File
@@ -19,6 +19,11 @@ SplitArtifacts=uki,partitions
# affects. .gitea/workflows/os.yml publishes it with the image.
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]
Bootable=yes
Bootloader=systemd-boot