From cbab2ac179a9202bd8caabdcd8527fefe151440c Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Wed, 7 Oct 2015 16:00:50 +0100 Subject: [PATCH] Debian: Supply a defined default for firmware hostprop when checking for uefi Otherwise: Use of uninitialized value in string eq at Osstest/Debian.pm line 410. Signed-off-by: Ian Campbell Acked-by: Ian Jackson --- Osstest/Debian.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm index f0a02e4..317f663 100644 --- a/Osstest/Debian.pm +++ b/Osstest/Debian.pm @@ -419,7 +419,7 @@ sub setupboot_grub2 ($$$$) { # Grub2 on Jessie/arm* doesn't do multiboot, so we must chainload. my $need_uefi_chainload = - get_host_property($ho, "firmware") eq "uefi" && + get_host_property($ho, "firmware", "") eq "uefi" && $ho->{Suite} =~ m/jessie/ && $r{arch} =~ m/^arm/; my $parsemenu= sub { -- 2.39.5