wok-6.x diff get-wifi-firmware/receipt @ rev 13091
get-wifi-firmware: remove hard coded version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 26 11:55:39 2012 +0200 (2012-06-26) |
parents | 7843031ac32d |
children | 3ebbba73bb3f |
line diff
1.1 --- a/get-wifi-firmware/receipt Sun Oct 24 22:49:39 2010 +0000 1.2 +++ b/get-wifi-firmware/receipt Tue Jun 26 11:55:39 2012 +0200 1.3 @@ -12,23 +12,11 @@ 1.4 { 1.5 mkdir -p $fs/usr/bin 1.6 cp stuff/$PACKAGE $fs/usr/bin 1.7 - for i in b43 b43legacy ipw2100 ipw2200 rt61 rt73 rt2860 zd1211 \ 1.8 - rt61pci rt73usb rt2870usb zd1211rw \ 1.9 - iwlwifi-3945 iwlwifi-4965 iwlwifi-5000 iwlwifi-5150 iwlwifi-1000 iwlwifi-6000; do 1.10 - ln -s $PACKAGE $fs/usr/bin/get-$i-firmware 1.11 - done 1.12 + $fs/usr/bin/$PACKAGE --install 1.13 } 1.14 1.15 post_install() 1.16 { 1.17 - # directly support some freely distributable firmware drivers 1.18 - # intel 1.19 - rootfs=$1 1.20 - get-iwlwifi-3945-firmware --firmware $rootfs 1.21 - get-iwlwifi-4965-firmware --firmware $rootfs 1.22 - get-iwlwifi-5000-firmware --firmware $rootfs 1.23 - # ralink 1.24 - get-rt61-firmware --firmware $rootfs 1.25 - get-rt73-firmware --firmware $rootfs 1.26 - get-rt2870usb-firmware --firmware $rootfs 1.27 + # directly support some freely distributable firmware drivers 1.28 + chroot $1 /usr/bin/get-wifi-firmware --get-free-firmware 1.29 }