mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-05-06 08:24:57 -04:00
CI: enable shellcheck
Signed-off-by: Tavi <tavi@divested.dev>
This commit is contained in:
parent
03e48ad81b
commit
42a5da8f16
4 changed files with 13 additions and 0 deletions
|
@ -29,6 +29,7 @@ echo "==========================================================================
|
|||
for f in */verifiedboot_relkeys.der.x509
|
||||
do
|
||||
device=$(dirname $f);
|
||||
# shellcheck disable=SC2199
|
||||
if [[ " ${VERITY_DEVICES[@]} " =~ " ${device} " ]]; then
|
||||
echo "Device: $device";
|
||||
sha1=$(cat $f | openssl dgst -sha1 -c | sed 's/SHA1(stdin)= //' | tr [a-z] [A-Z]);
|
||||
|
@ -48,6 +49,7 @@ echo "==========================================================================
|
|||
for f in */avb_pkmd.bin
|
||||
do
|
||||
device=$(dirname $f);
|
||||
# shellcheck disable=SC2199
|
||||
if [[ " ${AVB_DEVICES[@]} " =~ " ${device} " ]]; then
|
||||
echo "Device: $device";
|
||||
sha256=$(cat $f | openssl dgst -sha256 | sed 's/SHA2-256(stdin)= //' | tr [a-z] [A-Z]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue