From 045b5965c34ffc1e18d01297f351d8fdb3e72c67 Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Sat, 2 Feb 2019 20:48:42 +0000 Subject: Don't install nonfree graphics drivers when not wanted (mga#24172) This fixes a bug introduced by commit c253952df2. That was only supposed to select GPU firmware packages, but actually selected driver packages as well. --- perl-install/install/any.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/install/any.pm') diff --git a/perl-install/install/any.pm b/perl-install/install/any.pm index 8111d10f3..e8d905651 100644 --- a/perl-install/install/any.pm +++ b/perl-install/install/any.pm @@ -403,7 +403,7 @@ sub is_firmware_needed_ { log::l("the following driver(s) need nonfree firmware(s): " . join(', ', @need)) if @need; require pkgs; - my @xpkgs = pkgs::detect_graphical_drivers($o->do_pkgs); + my @xpkgs = pkgs::detect_graphical_drivers($o->do_pkgs, undef, 'firmware-only'); log::l("the following nonfree firmware(s) are needed for X.org: " . join(', ', @xpkgs)) if @xpkgs; my $need_microcode = detect_devices::hasCPUMicrocode(); -- cgit v1.2.1