More work on sha256sum

This commit is contained in:
2023-01-14 10:34:56 -05:00
부모 dd2ae010ab
커밋 099ceadfe1

파일 보기

@@ -389,6 +389,7 @@ verifyImage() {
fi
for file in "$FACTORYIMGGZ" "$SYSUPGRADEIMGGZ"; do
debug "file: $file"
[[ -f $file ]] || break
checksum=$(grep "${file##*/}" "$SHA256_FILE" | cut -f1 -d' ')
debug "checksum: $checksum"