summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2015-02-18 11:20:02 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2015-02-18 11:21:00 +0100
commit7ed5bd23d63bd4031f2a2f3055b0d0a19a65906d (patch)
tree5538f5577249262b8af2df3b98c7b169c270f977
parentfd23b8cd4d445fce0aa3b5e95e085ff21aa88109 (diff)
downloaddrakx-7ed5bd23d63bd4031f2a2f3055b0d0a19a65906d.tar
drakx-7ed5bd23d63bd4031f2a2f3055b0d0a19a65906d.tar.gz
drakx-7ed5bd23d63bd4031f2a2f3055b0d0a19a65906d.tar.bz2
drakx-7ed5bd23d63bd4031f2a2f3055b0d0a19a65906d.tar.xz
drakx-7ed5bd23d63bd4031f2a2f3055b0d0a19a65906d.zip
ensure we install kernel-firmware-nonfree (mga#15203)
(if needed) it's recommended but will be unselected if recommends are disabled resulting in non working display on reboot
-rw-r--r--perl-install/install/NEWS2
-rw-r--r--perl-install/install/any.pm1
2 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index c7fda9eee..598706971 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,5 @@
+- ensure we install kernel-firmware-nonfree if needed (mga#15203)
+
Version 16.59 - 18 February 2015
- bug:
diff --git a/perl-install/install/any.pm b/perl-install/install/any.pm
index d23fda5e1..354058750 100644
--- a/perl-install/install/any.pm
+++ b/perl-install/install/any.pm
@@ -821,6 +821,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", "kernel-firmware-nonfree") if is_firmware_needed();
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'));