fix: use sudo git checkout to reset root-owned build artifacts

This commit is contained in:
Mikhail Chusavitin
2026-03-08 20:54:15 +03:00
parent 441ab3adbd
commit d487e539bb

View File

@@ -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