From 1b1849c2179e043cbfcbf1bff4d05eba06a44921 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 17 May 2013 03:51:30 +0000 Subject: log which nonfree firmware packages are needed for X.org --- perl-install/install/any.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'perl-install/install') 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 { -- cgit v1.2.1