summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2015-05-10 20:24:38 +0300
committerThomas Backlund <tmb@mageia.org>2015-05-10 20:24:38 +0300
commit4c4f20ea33706bffd8a6dcd5f821ceaf7d7495d7 (patch)
tree530dd645fe1199178727f7b9392ea73bf30c6aa7
parentce6912d988cbf9e1a1423353ac85906b2338a35f (diff)
downloaddrakx-4c4f20ea33706bffd8a6dcd5f821ceaf7d7495d7.tar
drakx-4c4f20ea33706bffd8a6dcd5f821ceaf7d7495d7.tar.gz
drakx-4c4f20ea33706bffd8a6dcd5f821ceaf7d7495d7.tar.bz2
drakx-4c4f20ea33706bffd8a6dcd5f821ceaf7d7495d7.tar.xz
drakx-4c4f20ea33706bffd8a6dcd5f821ceaf7d7495d7.zip
- remove_unused_packages():
* dont remove crda, iw, wireless-regdb, usb_modeswitch, usb_modeswitch-data (they are needed to be able to support hotplugged wireless hw)
-rw-r--r--perl-install/NEWS4
-rw-r--r--perl-install/pkgs.pm2
2 files changed, 5 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 4c520d00a..a9dbcb704 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,7 @@
+- remove_unused_packages():
+ * dont remove crda, iw, wireless-regdb, usb_modeswitch, usb_modeswitch-data
+ (they are needed to be able to support hotplugged wireless hw)
+
Version 16.93 - 9 May 2015
- drakboot:
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm
index ba0022d99..e271a55f8 100644
--- a/perl-install/pkgs.pm
+++ b/perl-install/pkgs.pm
@@ -265,7 +265,7 @@ sub remove_unused_packages {
undef $wait;
# Packages to not remove even if they seem unused
- my @wanted_hardware_packages = qw(gnome-bluetooth pulseaudio-module-bluetooth gnome-phone-manager bluedevil kppp ppp wireless-tools wpa_supplicant kernel-firmware-nonfree radeon-firmware ralink-firmware rtlwifi-firmware ipw2100-firmware ipw2200-firmware iwlwifi-3945-ucode iwlwifi-4965-ucode iwlwifi-agn-ucode b43-fwcutter b43-openfwwf atmel-firmware speedtouch-firmware zd1211-firmware isdn4k-utils rfkill x11-driver-input-wacom);
+ my @wanted_hardware_packages = qw(gnome-bluetooth pulseaudio-module-bluetooth gnome-phone-manager bluedevil kppp ppp wireless-tools wireless-regdb wpa_supplicant iw crda kernel-firmware-nonfree radeon-firmware ralink-firmware rtlwifi-firmware ipw2100-firmware ipw2200-firmware iwlwifi-3945-ucode iwlwifi-4965-ucode iwlwifi-agn-ucode b43-fwcutter b43-openfwwf atmel-firmware speedtouch-firmware zd1211-firmware isdn4k-utils rfkill x11-driver-input-wacom usb_modeswitch usb_modeswitch-data);
@unused_hardware_packages = difference2(\@unused_hardware_packages, \@wanted_hardware_packages);
@unused_hardware_packages || @unselected_locales or return;