Spaces:
Runtime error

aureon-os / scripts /linux /install-linux.sh
GaryLeckey's picture
Publish Aureon OS from source ca6be206f108a2474a8cb38faf9ad3ae836e1479 (files 1-250/16781) (#1)
56c0d82
Raw History Blame Contribute Delete
821 Bytes
#!/usr/bin/env bash
# Linux installation stays on terminal HOLD until the stage 11 gate verifies
# receipts 1-5 on this tip. The gate is stdlib-only and does not import a target.
# Only a clear gate may replace this process with the contained cold boot.
set -euo pipefail
ROOT="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")/../.." && pwd)"
BOOTSTRAP="$ROOT/scripts/bootstrap/protected_bootstrap_v05.py"
GATE="$ROOT/scripts/bootstrap/go_live_stage11_gate.py"
if [ ! -r "$BOOTSTRAP" ] || [ ! -x /usr/bin/python3 ]; then
echo "Protected Linux installer bootstrap unavailable; refusing installation." >&2
exit 1
fi
if [ -r "$GATE" ] && /usr/bin/python3 -I -S -B "$GATE" --check; then
exec /usr/bin/python3 -I -S -B "$GATE" --launch-contained
fi
exec /usr/bin/python3 -I -S -B "$BOOTSTRAP" --target-id linux-supervisor