From 5470ae77fda282ce19d4b603cf1735ba2ec3a524 Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Tue, 7 May 2024 08:40:41 -0500 Subject: [PATCH] util/chromeos/crosfirmware: ensure $BOARD is lowercase If $BOARD is not all lowercase, then certain subfunctions of the script will fail due to case-sensitive comparisons therein. To avoid this, since all matched strings are fully lowercase, set $BOARD to lowercase. TEST: './crosfirmware.sh {akemi/Akemi/AKEMI}' all succeed. Change-Id: I8ecb613a8d9384e2cccaff5183470e2e9956d0a2 Signed-off-by: Matt DeVillier Reviewed-on: https://review.coreboot.org/c/coreboot/+/82232 Tested-by: build bot (Jenkins) Reviewed-by: Felix Singer --- util/chromeos/crosfirmware.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/chromeos/crosfirmware.sh b/util/chromeos/crosfirmware.sh index 3d0f0612f8..e72ff7d395 100755 --- a/util/chromeos/crosfirmware.sh +++ b/util/chromeos/crosfirmware.sh @@ -137,7 +137,7 @@ do_one_board() { # Main # -BOARD=$1 +BOARD=${1,,} exit_if_dependencies_are_missing