From 9a2eb9c373b1558d23db286e3172bc4570907850 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 26 Mar 2015 06:06:42 -0400 Subject: fix a crash in auto install (mga#15573) bug introduced in commit 7ed5bd23d63bd4031f2a2f3055b0d0a19a65906d --- perl-install/install/any.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/install/any.pm b/perl-install/install/any.pm index 34f8c68f6..b067d6570 100644 --- a/perl-install/install/any.pm +++ b/perl-install/install/any.pm @@ -822,7 +822,7 @@ sub default_packages { add_n_log("have crypted DM", "cryptsetup") if !is_empty_array_ref($o->{all_hds}{dmcrypts}); add_n_log("some disks are fake RAID", qw(mdadm dmraid)) if any { fs::type::is_dmraid($_) } @{$o->{all_hds}{hds}}; add_n_log("CPU needs microcode", "microcode_ctl") if detect_devices::hasCPUMicrocode(); - add_n_log("either CPU or GFX needs firmware", qw(kernel-firmware-nonfree radeon-firmware)) if is_firmware_needed(); + add_n_log("either CPU or GFX needs firmware", qw(kernel-firmware-nonfree radeon-firmware)) if is_firmware_needed($o); add_n_log("CPU needs cpupower", 'cpupower') if detect_devices::hasCPUFreq(); add_n_log("APM support needed", 'apmd') if -e "/proc/apm"; add_n_log("needed by hardware", detect_devices::probe_name('Pkg')); -- cgit v1.2.1