Mageia Bugzilla – Attachment 10512 Details for
Bug 23911
Truly minimal install without urpmi installs urpmi
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
only install radeon-firmware if needed (mga#23911)
0001-only-install-radeon-firmware-if-needed-mga-23911.patch (text/plain), 1.57 KB, created by
Thierry Vignaud
on 2018-11-28 01:07:41 CET
(
hide
)
Description:
only install radeon-firmware if needed (mga#23911)
Filename:
MIME Type:
Creator:
Thierry Vignaud
Created:
2018-11-28 01:07:41 CET
Size:
1.57 KB
patch
obsolete
>From e815de1644ba7df744b5aafde6347eb033563e42 Mon Sep 17 00:00:00 2001 >From: Thierry Vignaud <thierry.vignaud@gmail.com> >Date: Wed, 28 Nov 2018 01:05:14 +0100 >Subject: [PATCH] only install radeon-firmware if needed (mga#23911) > >aka if there's an ATI gfx card > >It would be better to use the FIRMWARE field from ldetect-lst >XFdrake is supposed to handle it but for minimal installs w/o Xorg (mga#15203) >--- > perl-install/install/any.pm | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/perl-install/install/any.pm b/perl-install/install/any.pm >index 0e4d4e880..7ac5a529c 100644 >--- a/perl-install/install/any.pm >+++ b/perl-install/install/any.pm >@@ -845,7 +845,8 @@ sub default_packages { > add_n_log("have crypted DM", "cryptsetup") if !is_empty_array_ref($o->{all_hds}{dmcrypts}); > add_n_log("some disks are fake RAID", qw(mdadm dmraid)) if any { fs::type::is_dmraid($_) } @{$o->{all_hds}{hds}}; > add_n_log("CPU needs microcode", "microcode_ctl") if detect_devices::hasCPUMicrocode(); >- add_n_log("either CPU or GFX needs firmware", qw(kernel-firmware-nonfree radeon-firmware)) if is_firmware_needed($o); >+ add_n_log("either CPU or GFX needs firmware", 'kernel-firmware-nonfree') if is_firmware_needed($o); >+ add_n_log("ATI/AMD GFX needs firmware", 'radeon-firmware') if grep { $_->{driver} =~ /^Card:ATI/ } detect_devices::probeall(); > add_n_log("CPU needs cpupower", 'cpupower') if detect_devices::hasCPUFreq(); > add_n_log("APM support needed", 'apmd') if -e "/proc/apm"; > add_n_log("needed by hardware", detect_devices::probe_name('Pkg')); >-- >2.19.2 >
From e815de1644ba7df744b5aafde6347eb033563e42 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud <thierry.vignaud@gmail.com> Date: Wed, 28 Nov 2018 01:05:14 +0100 Subject: [PATCH] only install radeon-firmware if needed (mga#23911) aka if there's an ATI gfx card It would be better to use the FIRMWARE field from ldetect-lst XFdrake is supposed to handle it but for minimal installs w/o Xorg (mga#15203) --- perl-install/install/any.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/perl-install/install/any.pm b/perl-install/install/any.pm index 0e4d4e880..7ac5a529c 100644 --- a/perl-install/install/any.pm +++ b/perl-install/install/any.pm @@ -845,7 +845,8 @@ sub default_packages { add_n_log("have crypted DM", "cryptsetup") if !is_empty_array_ref($o->{all_hds}{dmcrypts}); add_n_log("some disks are fake RAID", qw(mdadm dmraid)) if any { fs::type::is_dmraid($_) } @{$o->{all_hds}{hds}}; add_n_log("CPU needs microcode", "microcode_ctl") if detect_devices::hasCPUMicrocode(); - add_n_log("either CPU or GFX needs firmware", qw(kernel-firmware-nonfree radeon-firmware)) if is_firmware_needed($o); + add_n_log("either CPU or GFX needs firmware", 'kernel-firmware-nonfree') if is_firmware_needed($o); + add_n_log("ATI/AMD GFX needs firmware", 'radeon-firmware') if grep { $_->{driver} =~ /^Card:ATI/ } detect_devices::probeall(); add_n_log("CPU needs cpupower", 'cpupower') if detect_devices::hasCPUFreq(); add_n_log("APM support needed", 'apmd') if -e "/proc/apm"; add_n_log("needed by hardware", detect_devices::probe_name('Pkg')); -- 2.19.2
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 23911
:
10508
|
10509
|
10510
| 10512 |
10513
|
10514