From: Ian Campbell Subject: [PATCH OSSTEST] Debian: Supply a defined default for firmware hostprop when checking for uefi Date: Thu, 8 Oct 2015 11:32:40 +0100 Message-ID: <1444300360-15779-1-git-send-email-ian.campbell@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: ian.jackson@eu.citrix.com, xen-devel@lists.xen.org Cc: Ian Campbell List-Id: xen-devel@lists.xenproject.org Otherwise: Use of uninitialized value in string eq at Osstest/Debian.pm line 410. Signed-off-by: Ian Campbell --- Osstest/Debian.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm index bd482d6..5b26c4f 100644 --- a/Osstest/Debian.pm +++ b/Osstest/Debian.pm @@ -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 { -- 2.5.3