summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2015-03-26 06:06:42 -0400
committerAnne Nicolas <ennael@mageia.org>2015-03-26 11:38:45 +0100
commit9a2eb9c373b1558d23db286e3172bc4570907850 (patch)
treef30df5c23d70a8bf19d1fbcf4b3db653c50a6a62
parent8dd5ae0742ec1ddccf73d557316a6104f4774aee (diff)
downloaddrakx-9a2eb9c373b1558d23db286e3172bc4570907850.tar
drakx-9a2eb9c373b1558d23db286e3172bc4570907850.tar.gz
drakx-9a2eb9c373b1558d23db286e3172bc4570907850.tar.bz2
drakx-9a2eb9c373b1558d23db286e3172bc4570907850.tar.xz
drakx-9a2eb9c373b1558d23db286e3172bc4570907850.zip
fix a crash in auto install (mga#15573)
-rw-r--r--perl-install/install/any.pm2
1 files changed, 1 insertions, 1 deletions
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'));