[PATCH] uefi: Don't abort on non-UEFI firmware

Jeremy Kerr jk at ozlabs.org
Thu Apr 24 07:34:49 UTC 2014


It's not an error to have non-UEFI firmware.

Signed-off-by: Jeremy Kerr <jk at ozlabs.org>

---
 src/uefi/securebootcert/securebootcert.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/uefi/securebootcert/securebootcert.c b/src/uefi/securebootcert/securebootcert.c
index 8929c44..5a860f8 100644
--- a/src/uefi/securebootcert/securebootcert.c
+++ b/src/uefi/securebootcert/securebootcert.c
@@ -321,7 +321,7 @@ static int securebootcert_init(fwts_framework *fw)
 {
 	if (fwts_firmware_detect() != FWTS_FIRMWARE_UEFI) {
 		fwts_log_info(fw, "Cannot detect any UEFI firmware. Aborted.");
-		return FWTS_ABORTED;
+		return FWTS_SKIP;
 	}
 
 	if (!fwts_uefi_efivars_iface_exist()) {



More information about the fwts-devel mailing list