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
commit2c1bf60ce121d1c3b0f6bf5f0c7f05f2ab166ee6 (patch)
tree2cfe55c348ed77ed66e5a552df06beb0a9264833
parent4791be6ff29492c23ed2dbd8eb9c761f950e37bd (diff)
downloaddrakx-backup-do-not-use-2c1bf60ce121d1c3b0f6bf5f0c7f05f2ab166ee6.tar
drakx-backup-do-not-use-2c1bf60ce121d1c3b0f6bf5f0c7f05f2ab166ee6.tar.gz
drakx-backup-do-not-use-2c1bf60ce121d1c3b0f6bf5f0c7f05f2ab166ee6.tar.bz2
drakx-backup-do-not-use-2c1bf60ce121d1c3b0f6bf5f0c7f05f2ab166ee6.tar.xz
drakx-backup-do-not-use-2c1bf60ce121d1c3b0f6bf5f0c7f05f2ab166ee6.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 {