summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2013-05-17 03:51:30 +0000
committerThierry Vignaud <tv@mageia.org>2013-05-17 03:51:30 +0000
commit1b1849c2179e043cbfcbf1bff4d05eba06a44921 (patch)
tree2cfe55c348ed77ed66e5a552df06beb0a9264833
parent168e19a5e9a09aa1dc05e8d8d4c38bfdce3b5400 (diff)
downloaddrakx-1b1849c2179e043cbfcbf1bff4d05eba06a44921.tar
drakx-1b1849c2179e043cbfcbf1bff4d05eba06a44921.tar.gz
drakx-1b1849c2179e043cbfcbf1bff4d05eba06a44921.tar.bz2
drakx-1b1849c2179e043cbfcbf1bff4d05eba06a44921.tar.xz
drakx-1b1849c2179e043cbfcbf1bff4d05eba06a44921.zip
log which nonfree firmware packages are needed for X.org
-rw-r--r--perl-install/install/any.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/install/any.pm b/perl-install/install/any.pm
index 8cdceafff..3bae857ef 100644
--- a/perl-install/install/any.pm
+++ b/perl-install/install/any.pm
@@ -326,7 +326,9 @@ sub _nonfree_medium() { N("Nonfree Release") }
sub is_firmware_needed {
my ($o) = @_;
require pkgs;
- pkgs::detect_graphical_drivers($o->do_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;
+ @xpkgs;
}
sub msg_if_firmware_needed {