summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/install/NEWS2
-rw-r--r--perl-install/install/any.pm6
2 files changed, 7 insertions, 1 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 8744fb7df..88532bfbd 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,5 @@
+- media step:
+ o hint that nonfree is needed if a CPU needs a microcode
- drakx-in-chroot:
o advise to install xephyr if missing
diff --git a/perl-install/install/any.pm b/perl-install/install/any.pm
index 217080202..9bad240c2 100644
--- a/perl-install/install/any.pm
+++ b/perl-install/install/any.pm
@@ -333,7 +333,11 @@ sub is_firmware_needed_ {
require pkgs;
my @xpkgs = pkgs::detect_graphical_drivers($o->do_pkgs);
log::l("the following nonfree firmware(s) are needed for X.org: " . join(', ', @xpkgs)) if @xpkgs;
- @need || @xpkgs;
+
+ my $need_microcode = detect_devices::hasCPUMicrocode();
+ log::l("nonfree firmware is needed for the CPU (microcode)") if $need_microcode;
+
+ @need || @xpkgs || $need_microcode;
}
sub is_firmware_needed {