Skip to contentSkip to conversation

Debian: Supply a defined default for firmware hostprop when checking for uefi

PATCH In review Ian Campbell 2 participants 2 messages Oct 8, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 Osstest/Debian.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Osstest/Debian.pm +1 -1
index bd482d6..5b26c4f 100644
@@ -408,7 +408,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 {
Signature · 1 line
2.5.3
Acked-by on v1 1/1
#1 lore raw

Ian Campbell writes ("[PATCH OSSTEST] Debian: Supply a defined default for firmware hostprop when checking for uefi"):

Quoted 2 lines

Otherwise:
Use of uninitialized value in string eq at Osstest/Debian.pm line 410.