Add tool for applying/saving Tock patches

This commit is contained in:
Julien Cretin
2021-08-05 11:26:55 +02:00
committed by Julien Cretin
parent 69f1b672f1
commit d25f65c565
4 changed files with 82 additions and 0 deletions

15
maintainers/update_hashes.sh Executable file
View File

@@ -0,0 +1,15 @@
#!/bin/bash
set -eux
mkdir -p tmp
for OS in macos-10.15 ubuntu-18.04
do
unzip reproduced-$OS.zip -d tmp/reproduced-$OS/
tar -C tmp/reproduced-$OS/ -xvf tmp/reproduced-$OS/reproduced.tar
cp tmp/reproduced-$OS/reproducible/binaries.sha256sum reproducible/reference_binaries_$OS.sha256sum
cp tmp/reproduced-$OS/reproducible/elf2tab.txt reproducible/reference_elf2tab_$OS.txt
done
rm -R tmp