]> xenbits.xensource.com Git - people/liuw/osstest.git/commitdiff
Debian: Supply a defined default for firmware hostprop when checking for uefi
authorIan Campbell <ian.campbell@citrix.com>
Wed, 7 Oct 2015 15:00:50 +0000 (16:00 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 8 Oct 2015 16:19:29 +0000 (17:19 +0100)
Otherwise:
Use of uninitialized value in string eq at Osstest/Debian.pm line 410.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Osstest/Debian.pm

index f0a02e4458c44699680a4c39752f8c8f0e4785df..317f66330114bb309d2d55f4102406820b0654d7 100644 (file)
@@ -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 {