fix reproduce scripts
This commit is contained in:
committed by
Julien Cretin
parent
d25f65c565
commit
7a812a657b
2
.github/workflows/reproducible.yml
vendored
2
.github/workflows/reproducible.yml
vendored
@@ -30,7 +30,7 @@ jobs:
|
|||||||
- name: Use sample cryptographic material
|
- name: Use sample cryptographic material
|
||||||
run: rm -R crypto_data/ && cp -r reproducible/sample_crypto_data crypto_data
|
run: rm -R crypto_data/ && cp -r reproducible/sample_crypto_data crypto_data
|
||||||
- name: Computing cryptographic hashes
|
- name: Computing cryptographic hashes
|
||||||
run: ./reproduce_hashes.sh
|
run: ./maintainers/reproduce_hashes.sh
|
||||||
|
|
||||||
- name: Upload reproduced binaries
|
- name: Upload reproduced binaries
|
||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v1
|
||||||
|
|||||||
@@ -17,7 +17,13 @@ help() {
|
|||||||
Usage: $PROGRAM {apply|save}
|
Usage: $PROGRAM {apply|save}
|
||||||
|
|
||||||
apply Applies the patches to the Tock submodule.
|
apply Applies the patches to the Tock submodule.
|
||||||
|
This resets Tock and can always be called.
|
||||||
|
|
||||||
save Saves the Tock submodule to the patches.
|
save Saves the Tock submodule to the patches.
|
||||||
|
Should only be called after apply and when all changes have been
|
||||||
|
added to a commit. After saving, you can run ./setup.sh to return
|
||||||
|
to normal state. Otherwise you can continue editing Tock and
|
||||||
|
calling save.
|
||||||
EOF
|
EOF
|
||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ cargo build --manifest-path third_party/tock/tools/sha256sum/Cargo.toml
|
|||||||
echo "Computing SHA-256 sums of the boards..."
|
echo "Computing SHA-256 sums of the boards..."
|
||||||
for board in nrf52840dk_opensk nrf52840_dongle_opensk nrf52840_dongle_dfu nrf52840_mdk_dfu
|
for board in nrf52840dk_opensk nrf52840_dongle_opensk nrf52840_dongle_dfu nrf52840_mdk_dfu
|
||||||
do
|
do
|
||||||
BOARD=$board ./reproduce_board.sh
|
BOARD=$board ./maintainers/reproduce_board.sh
|
||||||
done
|
done
|
||||||
|
|
||||||
echo "Computing SHA-256 sum of the TAB file..."
|
echo "Computing SHA-256 sum of the TAB file..."
|
||||||
|
|||||||
Reference in New Issue
Block a user