mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-13 14:59:34 +02:00
lib.sh: move mksha512sum() to vendor.sh
this is unused in cbmk. it's only used from vendor.sh. therefore, lbmk shall have it in vendor.sh. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -277,6 +277,14 @@ prep()
|
||||
x_ rm -f "$_xrom"
|
||||
}
|
||||
|
||||
mksha512sum()
|
||||
{
|
||||
(
|
||||
[ "${1%/*}" != "$1" ] && x_ cd "${1%/*}"
|
||||
sha512sum ./"${1##*/}" >> "$2" || err "!sha512sum \"$1\" > \"$2\""
|
||||
) || err "failed to create tarball checksum"
|
||||
}
|
||||
|
||||
add_vfiles()
|
||||
{
|
||||
rom="$1"
|
||||
|
||||
Reference in New Issue
Block a user