Remove rtl818x original-kernel modules from iso v2.5-core29
authorArne Fitzenreiter <arne_f@ipfire.org>
Sat, 25 Jul 2009 20:28:29 +0000 (22:28 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sat, 25 Jul 2009 20:28:29 +0000 (22:28 +0200)
lfs/compat-wireless

index 1a154c97188a4080469dabbc66928f6140a4c88e..6a2d23d40c74b4a17100766bed31ea73e3c736c7 100644 (file)
@@ -88,4 +88,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 
        # 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...
+       -rm -rf /lib/modules/$(KVER)-$(VERSUFIX)/kernel/drivers/net/wireless/rtl818?.ko
+
        @$(POSTBUILD)