linux-firmware: update to today's code, create symlinks for the ath9k kmod.

The ath9k kmod seems to expect the firmware files to be named "htc_<model>.fw"
not "htc_<model>-<version>.fw".

See https://groups.google.com/forum/#!topic/voidlinux/HMPjUxLHugs
This commit is contained in:
Juan RP 2015-04-13 16:58:59 +02:00
parent 9ce9b54ef4
commit fbed9bcb1d

View file

@ -1,6 +1,6 @@
# Template file for 'linux-firmware'
pkgname=linux-firmware
version=20150324
version=20150413
revision=1
noarch=yes
short_desc="Binary firmware blobs for the Linux kernel"
@ -21,6 +21,10 @@ do_install() {
rm -f ${DESTDIR}/usr/lib/firmware/{README*,configure,GPL*}
mv ${DESTDIR}/usr/lib/firmware/{LICEN*,WHENCE} \
${DESTDIR}/usr/share/licenses/${pkgname}
# Create symlinks for ath9k, this expects a filename without the version.
ln -sf htc_7010-1.4.0.fw ${DESTDIR}/usr/lib/firmware/ath9k_htc/htc_7010.fw
ln -sf htc_9271-1.4.0.fw ${DESTDIR}/usr/lib/firmware/ath9k_htc/htc_9271.fw
}
linux-firmware-amd_package() {