unified sha512sum creation for tarballs

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2024-05-15 00:37:12 +01:00
parent 1ce7e33976
commit 08c9f94a1a
2 changed files with 9 additions and 7 deletions
+1 -4
View File
@@ -472,10 +472,7 @@ moverom()
x_ cp "$1" "$2"
[ "$lbmk_release" = "y" ] || return 0
(
cd "${2%/*}" || $err "moverom, !cd \"${2%/*}\""
sha512sum ./"${2##*/}" >> vendorhashes || $err "!$2 vendorhashes"
) || $err "Cannot create checksum for '$2'"
mksha512sum "${2}" "vendorhashes"
x_ ./vendor inject -r "${2}" -b "$board" -n nuke
}