Restore disable_configstore, EuiccDisabler and thermal CDEV guards, branding and rebuild/sync helpers; document device roles, laptop migration, and Gitea. Co-authored-by: Cursor <cursoragent@cursor.com>
17 lines
1.0 KiB
Bash
Executable File
17 lines
1.0 KiB
Bash
Executable File
#!/bin/bash
|
|
# Push OTA rebuild inputs from laptop checkout to rom-dev01 stage dir.
|
|
# Does NOT change the phone. Apps/bootanim ship only after rom-dev01 bacon + sideload.
|
|
# Usage: scripts/009-sync-ota-stage-to-host.sh [stage-dir-on-host]
|
|
set -euo pipefail
|
|
ROOT=$(cd "$(dirname "$0")/.." && pwd)
|
|
STAGE=${1:-/srv/rom/artifacts/009-axp-los23-port/worktree-20261010-ota}
|
|
SSH=(ssh -F "$ROOT/docs/ssh/config" a16-build)
|
|
RSYNC_RSH="ssh -F $ROOT/docs/ssh/config"
|
|
"${SSH[@]}" "mkdir -p '$STAGE/scripts' '$STAGE/vendor/sunfish-a16'"
|
|
rsync -a --delete --exclude .git/ "$ROOT/scripts/" "a16-build:$STAGE/scripts/" -e "$RSYNC_RSH"
|
|
rsync -a --delete --exclude .git/ "$ROOT/vendor/sunfish-a16/" "a16-build:$STAGE/vendor/sunfish-a16/" -e "$RSYNC_RSH"
|
|
bash -n "$ROOT/scripts/009-rebuild-from-los.sh" "$ROOT/scripts/009-bacon-hardened-malloc.sh" \
|
|
"$ROOT/scripts/009-bacon-hardened-malloc.sh" "$ROOT/scripts/009-bacon-axp-stage1-combo4-cve-hi-releasekeys.sh"
|
|
"${SSH[@]}" "bash -n '$STAGE/scripts/009-rebuild-from-los.sh'"
|
|
echo "OK: staged to $STAGE on rom-dev01"
|