Fix non compat-wireless ath9k module remove
authorArne Fitzenreiter <arne_f@ipfire.org>
Tue, 6 Oct 2009 19:06:42 +0000 (21:06 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Tue, 6 Oct 2009 19:06:42 +0000 (21:06 +0200)
config/rootfiles/core/32/update.sh
doc/packages-list.txt
lfs/compat-wireless

index efa8c1b..a8e7a8d 100644 (file)
@@ -31,3 +31,12 @@ echo "17 5 * * *      /etc/init.d/tmpfs backup >/dev/null" >> /var/tmp/root.tmp
 fcrontab /var/tmp/root.tmp
 #Update Language cache
 perl -e "require '/var/ipfire/lang.pl'; &Lang::BuildCacheLang"
+#Remove some non compat-wireless modules
+rm -rf /lib/modules/2.6.27.31-ipfire/kernel/drivers/net/wireless/ath?k
+rm -rf /lib/modules/2.6.27.31-ipfire/kernel/drivers/net/wireless/rtl818?.ko
+rm -rf /lib/modules/2.6.27.31-ipfire-xen/kernel/drivers/net/wireless/ath?k
+rm -rf /lib/modules/2.6.27.31-ipfire-xen/kernel/drivers/net/wireless/rtl818?.ko
+#Rebuild module dep's
+depmod -a
+#Don't report the exitcode of depmod
+exit 0
index e8b9ca9..1d7c89c 100644 (file)
@@ -69,8 +69,8 @@
 * clamav-0.95.2
 * cmake-2.4.8
 * collectd-4.5.3
-* compat-wireless-2009-06-17-kmod-2.6.27.31-ipfire
-* compat-wireless-2009-06-17-kmod-2.6.27.31-ipfire-xen
+* compat-wireless-2009-05-30-kmod-2.6.27.31-ipfire
+* compat-wireless-2009-05-30-kmod-2.6.27.31-ipfire-xen
 * coreutils-5.96
 * cpio-2.6
 * cpufrequtils-005
 * rssdler-0.4.0a
 * rsync-3.0.6
 * rtorrent-0.8.4
-* samba-3.3.7
+* samba-3.3.8
 * sane-1.0.19
 * screen-4.0.3
 * sdparm-1.01
index cdc4380..5d1bff1 100644 (file)
@@ -118,8 +118,9 @@ endif
        # Set Regulatory Domain to "EU" (use Channel 1-14 max. 20db)
        echo options cfg80211 ieee80211_regdom=EU > /etc/modprobe.d/cfg80211
 
-       # Remove original kernel rtl818x modules (compat wireless use the
-       # place of newer kernels and so not overwrite it...
+       # Remove original kernel modules (compat wireless use the
+       # place of newer kernels and so not overwrite it...)
+       -rm -rf /lib/modules/$(KVER)-$(VERSUFIX)/kernel/drivers/net/wireless/ath?k
        -rm -rf /lib/modules/$(KVER)-$(VERSUFIX)/kernel/drivers/net/wireless/rtl818?.ko
 
        -rm -rf $(DIR_APP)