mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-03-26 05:49:03 +02:00
lbmk: remove use of deprecated ./vendor command
use ./mk instead, because in a future change to lbmk, only ./mk will be used and the other commands will be removed. with this change, the ./vendor, ./build and ./update commands are no longer used. these commands still work, for backwards compatibility, but they are deprecated. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -55,7 +55,7 @@ mkvendorfiles()
|
||||
printf "%s\n" "${version%%-*}" > "$srcdir/.coreboot-version" || \
|
||||
$err "!mk $srcdir .coreboot-version"
|
||||
[ -z "$mode" ] && [ "$target" != "$tree" ] && \
|
||||
x_ ./vendor download $target; return 0
|
||||
x_ ./mk download $target; return 0
|
||||
}
|
||||
|
||||
cook_coreboot_config()
|
||||
@@ -247,7 +247,7 @@ cprom()
|
||||
cbfs "$newrom" "config/data/grub/bootorder_uboot" "bootorder" raw
|
||||
|
||||
[ "$XBMK_RELEASE" = "y" ] || return 0
|
||||
$dry mksha512sum "$newrom" "vendorhashes"; $dry ./vendor inject \
|
||||
$dry mksha512sum "$newrom" "vendorhashes"; $dry ./mk inject \
|
||||
-r "$newrom" -b "$target" -n nuke || $err "!nuke $newrom"
|
||||
}
|
||||
|
||||
|
||||
@@ -272,7 +272,7 @@ vendor_inject()
|
||||
done
|
||||
|
||||
check_board || return 0
|
||||
[ "$nukemode" = "nuke" ] || x_ ./vendor download $board
|
||||
[ "$nukemode" = "nuke" ] || x_ ./mk download $board
|
||||
if [ "$vrelease" = "y" ]; then
|
||||
patch_release_roms
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user