Mageia Bugzilla – Attachment 11888 Details for
Bug 27122
[Mageia 8b1] drakhardware from drakxtools requires to install deprecated libs like qt3 and qt4
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
patch to fix hardware support package detection
fix-read-rpmsrate-hardware-detection.patch (text/plain), 665 bytes, created by
Martin Whitaker
on 2020-09-23 12:33:27 CEST
(
hide
)
Description:
patch to fix hardware support package detection
Filename:
MIME Type:
Creator:
Martin Whitaker
Created:
2020-09-23 12:33:27 CEST
Size:
665 bytes
patch
obsolete
>diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm >index 504e30705..892f758da 100644 >--- a/perl-install/pkgs.pm >+++ b/perl-install/pkgs.pm >@@ -125,7 +125,7 @@ sub read_rpmsrate { > $match_all_hardware ? 1 : ($inv xor find { $_->{description} =~ /$p/i } @probeall); > } elsif (($p) = /^DRIVER"(.*)"/) { > $match_all_hardware ? 1 : ($inv xor find { $_->{driver} =~ /$p/i } @probeall); >- } elsif (($p) = /^TYPE"(.*)"/) { >+ } elsif (($p) = /^TYPE"(.*)"/ && $p ne '64bit') { > $match_all_hardware ? 1 : ($inv xor $TYPEs->{$p}); > } elsif (($p) = /^HW_CAT"(.*)"/) { > $match_all_hardware ? 1 : ($inv xor detect_devices::probe_category($p));
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm index 504e30705..892f758da 100644 --- a/perl-install/pkgs.pm +++ b/perl-install/pkgs.pm @@ -125,7 +125,7 @@ sub read_rpmsrate { $match_all_hardware ? 1 : ($inv xor find { $_->{description} =~ /$p/i } @probeall); } elsif (($p) = /^DRIVER"(.*)"/) { $match_all_hardware ? 1 : ($inv xor find { $_->{driver} =~ /$p/i } @probeall); - } elsif (($p) = /^TYPE"(.*)"/) { + } elsif (($p) = /^TYPE"(.*)"/ && $p ne '64bit') { $match_all_hardware ? 1 : ($inv xor $TYPEs->{$p}); } elsif (($p) = /^HW_CAT"(.*)"/) { $match_all_hardware ? 1 : ($inv xor detect_devices::probe_category($p));
View Attachment As Raw
Actions:
View
Attachments on
bug 27122
: 11888