Skip to content

Commit

Permalink
Add checksum protection to script-generator
Browse files Browse the repository at this point in the history
  • Loading branch information
Googulator committed Apr 16, 2024
1 parent 7f08661 commit 8428e43
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion seed/after.kaem
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ set -ex

PATH=/${ARCH_DIR}/bin

catm seed-full.kaem /steps/env seed.kaem
catm seed-full.kaem /steps/bootstrap.cfg /steps/env seed.kaem
kaem --file seed-full.kaem
1 change: 1 addition & 0 deletions seed/script-generator.amd64.checksums
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1927a357c893d60952616146e788af25e637635b2862650914bf895d27f556a6 script-generator
1 change: 1 addition & 0 deletions seed/script-generator.riscv64.checksums
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1aa31b29ce0999b6a9cace93bc584020ec78059b9ad37d9aa3da9ad6c3d9af59 script-generator
1 change: 1 addition & 0 deletions seed/script-generator.x86.checksums
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dc6106dbc02839cdc9e3e2348432242eb6d33d840ab74badfd63c3c9997462b9 script-generator
6 changes: 6 additions & 0 deletions seed/seed.kaem
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,11 @@ MES_PREFIX=${SRCDIR}/${MES_PKG}/build/${MES_PKG}
GUILE_LOAD_PATH=${MES_PREFIX}/mes/module:${MES_PREFIX}/module:${SRCDIR}/${MES_PKG}/build/${NYACC_PKG}/module

M2-Mesoplanet --architecture ${ARCH} -f script-generator.c -o script-generator
# Checksums
if match x${UPDATE_CHECKSUMS} xTrue; then
sha256sum -o script-generator.${ARCH}.checksums script-generator
else
sha256sum -c script-generator.${ARCH}.checksums
fi
./script-generator /steps/manifest
kaem --file /steps/0.sh

0 comments on commit 8428e43

Please sign in to comment.