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