wok-current rev 2267
get-wifi-firmware: add kernel module names
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 17 20:17:02 2009 +0000 (2009-02-17) |
parents | 583e8a023692 |
children | c11a070d03ee |
files | get-wifi-firmware/receipt get-wifi-firmware/stuff/get-wifi-firmware |
line diff
1.1 --- a/get-wifi-firmware/receipt Tue Feb 17 15:06:24 2009 +0100 1.2 +++ b/get-wifi-firmware/receipt Tue Feb 17 20:17:02 2009 +0000 1.3 @@ -13,6 +13,7 @@ 1.4 mkdir -p $fs/usr/bin 1.5 cp stuff/$PACKAGE $fs/usr/bin 1.6 for i in b43 b43legacy ipw2100 ipw2200 rt61 rt73 zd1211 \ 1.7 + rt61pci rt73usb zd1211rw \ 1.8 iwlwifi-3945 iwlwifi-4965 iwlwifi-5000; do 1.9 ln -s $PACKAGE $fs/usr/bin/get-$i-firmware 1.10 done
2.1 --- a/get-wifi-firmware/stuff/get-wifi-firmware Tue Feb 17 15:06:24 2009 +0100 2.2 +++ b/get-wifi-firmware/stuff/get-wifi-firmware Tue Feb 17 20:17:02 2009 +0000 2.3 @@ -53,19 +53,19 @@ 2.4 WEB_SITE="http://www.intellinuxwireless.org/?n=Downloads" 2.5 WGET_URL="http://www.intellinuxwireless.org/iwlwifi/downloads/$MODULE-ucode-$VERSION.tgz" 2.6 ;; 2.7 -rt61) 2.8 +rt61|rt61pci) 2.9 VERSION=1.2 2.10 SHORT_DESC="RT61 Wireless Lan firmware." 2.11 WEB_SITE="http://www.ralinktech.com/" 2.12 WGET_URL="http://www.ralinktech.com.tw/data/RT61_Firmware_V$VERSION.zip" 2.13 ;; 2.14 -rt73) 2.15 +rt73|rt73usb) 2.16 VERSION=1.0.3.6 2.17 SHORT_DESC="RT73(RT2571W) Wireless Lan firmware." 2.18 WEB_SITE="http://www.ralinktech.com/" 2.19 WGET_URL="http://www.ralink.com.tw/data/RT73_Linux_STA_Drv$VERSION.tar.gz" 2.20 ;; 2.21 -zd1211) 2.22 +zd1211|zd1211rw) 2.23 VERSION=2.16.0.0-0.1 2.24 SHORT_DESC="zd1211/zd1211rw Wireless Lan firmware." 2.25 WEB_SITE="http://packages.debian.org/etch/zd1211-firmware" 2.26 @@ -123,10 +123,13 @@ 2.27 b43*) b43-fwcutter -w "$PKG-$VERSION/fs/lib/firmware" $FWSET;; 2.28 ipw*) rm -f lib/firmware/*LICENSE* 2.29 mv lib/firmware/* $PKG-$VERSION/fs/lib/firmware;; 2.30 -rt61) mv RT61_Firmware_V$VERSION/*.bin $PKG-$VERSION/fs/lib/firmware;; 2.31 -rt73) mv RT73_Linux_STA_Drv$VERSION/Module/rt73.bin $PKG-$VERSION/fs/lib/firmware;; 2.32 +rt61|rt61pci) 2.33 + mv RT61_Firmware_V$VERSION/*.bin $PKG-$VERSION/fs/lib/firmware;; 2.34 +rt73|rt73usb) 2.35 + mv RT73_Linux_STA_Drv$VERSION/Module/rt73.bin $PKG-$VERSION/fs/lib/firmware;; 2.36 iwlwifi*) mv iwlwifi*/iwlwifi*.ucode $PKG-$VERSION/fs/lib/firmware;; 2.37 -zd1211) mv lib/firmware/zd1211 $PKG-$VERSION/fs/lib/firmware 2.38 +zd1211|zd1211rw) 2.39 + mv lib/firmware/zd1211 $PKG-$VERSION/fs/lib/firmware 2.40 for i in $(cd usr/lib/hotplug/firmware; ls); do 2.41 target=$(readlink usr/lib/hotplug/firmware/$i) 2.42 ln -s $(basename $target) $PKG-$VERSION/fs/lib/firmware/zd1211/$i