From e0cdbb94804aff1c6c8e1804a4e4175f30fb05c2 Mon Sep 17 00:00:00 2001 From: Hadi Chokr Date: Sun, 12 Apr 2026 10:49:49 +0200 Subject: [PATCH] Final Hotfix for real --- build.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/build.sh b/build.sh index e6d5fa4..6f81c2e 100755 --- a/build.sh +++ b/build.sh @@ -105,13 +105,13 @@ DESTDIR=$PWD/mkosi.extra make --directory=etc-factory install mkdir -p mkosi.output mkosi.cache chown root:root mkosi.output mkosi.cache -mkosi \ - --environment="CI_COMMIT_SHORT_SHA=${CI_COMMIT_SHORT_SHA:-unknownSHA}" \ - --environment="CI_COMMIT_SHA=${CI_COMMIT_SHA:-unknownSHA}" \ - --environment="CI_PIPELINE_URL=${CI_PIPELINE_URL:-https://invent.kde.org}" \ - --environment="VERSION_DATE=${VERSION_DATE}" \ - --image-version="$VERSION" \ - "$@" +sudo mkosi \ + --environment="CI_COMMIT_SHORT_SHA=${CI_COMMIT_SHORT_SHA:-unknownSHA}" \ + --environment="CI_COMMIT_SHA=${CI_COMMIT_SHA:-unknownSHA}" \ + --environment="CI_PIPELINE_URL=${CI_PIPELINE_URL:-https://invent.kde.org}" \ + --environment="VERSION_DATE=${VERSION_DATE}" \ + --image-version="$VERSION" \ + "$@" # Adjust mtime to reduce unnecessary churn between images caused by us rebuilding repos that have possible not changed in source or binary interfaces. if [ -f "$PWD/.secure_files/ssh.key" ]; then