From e356bac4c41cbf8580fc84a620fc0acbe3b447b9 Mon Sep 17 00:00:00 2001 From: Hadi Chokr Date: Sat, 12 Jul 2025 13:25:52 +0000 Subject: [PATCH] Rebase Move --package-cache-dir flag to mkosi.conf It isn't dynamic, so we can have it in the config file. Rebase of https://invent.kde.org/kde-linux/kde-linux/-/merge_requests/125 --- build.sh | 1 - mkosi.conf | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 8912d02..c3623a7 100755 --- a/build.sh +++ b/build.sh @@ -68,7 +68,6 @@ mkosi \ --environment="CI_PIPELINE_URL=${CI_PIPELINE_URL:-https://invent.kde.org}" \ --environment="VERSION_DATE=${VERSION_DATE}" \ --image-version="$VERSION" \ - --package-cache-dir=/var/cache/mkosi.pacman \ --output-directory=. \ "$@" diff --git a/mkosi.conf b/mkosi.conf index cb05bb5..fa869ce 100644 --- a/mkosi.conf +++ b/mkosi.conf @@ -23,6 +23,7 @@ KernelCommandLine= WithNetwork=true # Make sure kernel-install knows where we expect the ESP to be mounted so it can create correct loader entries. @Environment=BOOT_MNT=/efi-template +PackageCacheDirectory=/var/cache/mkosi.pacman [Runtime] Console=gui