diff options
author | Leif Lindholm <leif.lindholm@linaro.org> | 2017-10-24 13:25:33 +0100 |
---|---|---|
committer | Leif Lindholm <leif.lindholm@linaro.org> | 2017-10-24 13:25:33 +0100 |
commit | e9589ed56ce861fb284be2be9acce38ab7579b34 (patch) | |
tree | c3958323b4d58ed54e66c51419617aeaf778a858 /build.sh | |
parent | eb3c1948d68d9b95198a1eec8cb4a975a4e435b8 (diff) |
build.sh: generate per-directory SHA256SUMS
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -125,6 +125,15 @@ copy_images() done } +checksum_images() +{ + for dir in out/*/*; do + cd $dir + sha256sum * > SHA256SUMS + cd - >/dev/null + done +} + BUILD_OPTIONS="$BUILD_OPTIONS $*" for repo in arm-trusted-firmware edk2 edk2-platforms edk2-non-osi uefi-tools @@ -142,4 +151,5 @@ NUM_FAILED=$? if [ $NUM_FAILED -lt $NUM_BUILDS ]; then copy_images + checksum_images fi |