From: Ian Campbell Date: Wed, 7 Oct 2015 15:00:50 +0000 (+0100) Subject: Debian: Supply a defined default for firmware hostprop when checking for uefi X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=cbab2ac179a9202bd8caabdcd8527fefe151440c;p=people%2Fliuw%2Fosstest.git 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 --- 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 {