summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-09-18 14:52:28 +0000
committerOlivier Blin <oblin@mandriva.com>2008-09-18 14:52:28 +0000
commitacefc5db3e7bd3957f555bd3e300db17c0b815da (patch)
tree5a9babac8d488c231ab8f7f573969b3339e885c7
parent5f381cb6890b3edac05397a82f8c3041ddb472e5 (diff)
downloaddrakx-acefc5db3e7bd3957f555bd3e300db17c0b815da.tar
drakx-acefc5db3e7bd3957f555bd3e300db17c0b815da.tar.gz
drakx-acefc5db3e7bd3957f555bd3e300db17c0b815da.tar.bz2
drakx-acefc5db3e7bd3957f555bd3e300db17c0b815da.tar.xz
drakx-acefc5db3e7bd3957f555bd3e300db17c0b815da.zip
fix network packages detection
-rw-r--r--perl-install/NEWS2
-rw-r--r--perl-install/pkgs.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index cc2622c7d..c189d6cbf 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -3,6 +3,8 @@
"Change partition type" dialog in expert mode due to ellipsizing
- harddrake2:
o detect network and graphical driver packages too
+- harddrake2 / remove-unused-packages:
+ o fix network packages detection
- list btusb instead of hci_usb in bus/bluetooth (renamed in 2.6.27)
Version 11.46 - 17 September 2008
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm
index d26640622..3d1a959aa 100644
--- a/perl-install/pkgs.pm
+++ b/perl-install/pkgs.pm
@@ -183,7 +183,7 @@ sub detect_network_drivers {
@network_settings = @all_settings;
} else {
my @connections = $type->get_connections(automatic_only => 1, fast_only => 1);
- @network_settings = map { @{$_->get_thirdparty_settings || []} } @connections;
+ @network_settings = map { network::thirdparty::find_settings(\@all_settings, $_->get_driver) } @connections;
}
foreach my $settings (@network_settings) {
foreach (@network::thirdparty::thirdparty_types) {