From b2255425ebaa551c6c16a2f4d7682b4bd0be8996 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Thu, 17 Apr 2025 04:22:25 +0100 Subject: rom.sh: remove unnecessary check the cbfs function will call cbfstool, which will perform the same check, and the same error condition would cause the same exit behaviour in lbmk. the error message would also provide output that is just as useful for debugging. Signed-off-by: Leah Rowe --- include/rom.sh | 1 - 1 file changed, 1 deletion(-) (limited to 'include') diff --git a/include/rom.sh b/include/rom.sh index 0f6fafbf..45ca5fd8 100644 --- a/include/rom.sh +++ b/include/rom.sh @@ -259,7 +259,6 @@ add_uboot() [ "$payload_uboot_amd64" = "y" ] && \ ubootelf="$ubdir/u-boot-x86-with-spl.bin" # EFI-compatible - [ -f "$ubootelf" ] || $err "cb/$ubtarget: Can't find u-boot" cbfs "$tmprom" "$ubootelf" "$ubpath" $ubcbfsargs [ "$payload_seabios" = "y" ] || cprom; : } -- cgit v1.2.1