From d487e539bbe624a7dfd21758fd22ec9cfdcc81a2 Mon Sep 17 00:00:00 2001 From: Mikhail Chusavitin Date: Sun, 8 Mar 2026 20:54:15 +0300 Subject: [PATCH] fix: use sudo git checkout to reset root-owned build artifacts --- scripts/run-builder.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/run-builder.sh b/scripts/run-builder.sh index 8c89df5..f285bfe 100755 --- a/scripts/run-builder.sh +++ b/scripts/run-builder.sh @@ -70,7 +70,7 @@ fi cd "\$REPO" echo "--- pulling latest ---" -git checkout -- . +sudo git checkout -- . git pull --ff-only chmod +x iso/overlay/usr/local/bin/* 2>/dev/null || true