Modern Apps git

← MAOS.git

maos: create ~/.ssh before writing allowed_signers; preset color.ui

Commit
80d83d3fea9e4c51c0b1e09c2e94937c72ebfae9
Author
Vayun Mathur <[email protected]>
When
2026-08-09 17:53 UTC (3 months ago)
Parents
c408ba1

Diff

build-maos.sh
diff --git a/build-maos.sh b/build-maos.shindex d6a2f99..3b1ef22 100755--- a/build-maos.sh+++ b/build-maos.sh@@ -162,10 +162,13 @@ phase_sync() {     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]"+    # Pre-set color so `repo init` doesn't stop for the interactive color prompt.+    git config --global color.ui >/dev/null 2>&1 || git config --global color.ui auto     mkdir -p "$TREE"; cd "$TREE"     repo init -u "$MANIFEST_URL" -b "refs/tags/$TAG"      # Verify the manifest signature.+    mkdir -p ~/.ssh && chmod 700 ~/.ssh     curl -fsS https://grapheneos.org/allowed_signers > ~/.ssh/grapheneos_allowed_signers     ( cd .repo/manifests       git config gpg.ssh.allowedSignersFile ~/.ssh/grapheneos_allowed_signers