Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aienux/blob/main/scripts/check_local_tools.sh # aienux Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aienux / scripts / check_local_tools.sh` 18 lines ยท 1107 bytes Raw Blame History 1 #!/usr/bin/env bash 2 # Compile the pinned native Omega units and compare with signed embedded code. 3 set -euo pipefail 4 cd "$(dirname "$0")/.." 5 om=${OMEGA_SOURCE:?set OMEGA_SOURCE to the clean pinned Omega checkout} 6 [[ $(git -C "$om" rev-parse HEAD) = `bf54b19fa590e8ae925c0e80815516dbf41e7326` ]] 7 [[ $(sha256sum "$om/seed/out/omc" | cut -d' ' -f1) = `62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b` ]] 8 [[ $(sha256sum "$om/seed/omc/omc.om" | cut -d' ' -f1) = `96d51b63c8f451661ac715395078e04f39195e50c9e8fe37746cda121e4d7a1e` ]] 9 out=${LOCAL_TOOLS_OUT:-$PWD/target/local-tools-host} 10 mkdir -p "$out" 11 for name in arithmetic text system; do 12 "$om/seed/out/omc" < "native/kernel/x86/tools/$name.om" > "$out/$name.raw" 13 done 14 cc -std=c11 -O2 -Wall -Wextra -Werror -Inative/sig -Inative/argus \ 15 native/kernel/x86/tests/local_admission_test.c native/kernel/artifact/format.c \ 16 native/argus/sha256.c native/sig/`ed25519`.c native/sig/sha512.c native/sig/ct.c -o "$out/admission" 17 "$out/admission" "$out/arithmetic.raw" "$out/text.raw" "$out/system.raw" 18 cargo test -p allen-courier --bin allen-courier