maos: set git identity in sync phase so repo init doesn't fail
- Commit
c408ba1301ee04450f3ce9dd8f1a16ab4ca746c6- Author
- Vayun Mathur <[email protected]>
- When
- 2026-08-09 17:49 UTC (3 months ago)
- Parents
c2de01f
Diff
build-maos.sh
diff --git a/build-maos.sh b/build-maos.shindex 40ec660..d6a2f99 100755--- a/build-maos.sh+++ b/build-maos.sh@@ -158,6 +158,10 @@ phase_deps() { phase_sync() { log "Syncing GrapheneOS $TAG into $TREE" case "$TREE" in /mnt/*) die "TREE is under /mnt (Windows FS). Use ext4, e.g. \$HOME/maos.";; esac+ # repo requires a git identity for its internal manifest project.+ git config --global user.name >/dev/null 2>&1 || git config --global user.name "Vayun Mathur"+ git config --global user.email >/dev/null 2>&1 || \+ git config --global user.email "[email protected]" mkdir -p "$TREE"; cd "$TREE" repo init -u "$MANIFEST_URL" -b "refs/tags/$TAG"