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:
parent
9ce9b54ef4
commit
fbed9bcb1d
1 changed files with 5 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'linux-firmware'
|
# Template file for 'linux-firmware'
|
||||||
pkgname=linux-firmware
|
pkgname=linux-firmware
|
||||||
version=20150324
|
version=20150413
|
||||||
revision=1
|
revision=1
|
||||||
noarch=yes
|
noarch=yes
|
||||||
short_desc="Binary firmware blobs for the Linux kernel"
|
short_desc="Binary firmware blobs for the Linux kernel"
|
||||||
|
@ -21,6 +21,10 @@ do_install() {
|
||||||
rm -f ${DESTDIR}/usr/lib/firmware/{README*,configure,GPL*}
|
rm -f ${DESTDIR}/usr/lib/firmware/{README*,configure,GPL*}
|
||||||
mv ${DESTDIR}/usr/lib/firmware/{LICEN*,WHENCE} \
|
mv ${DESTDIR}/usr/lib/firmware/{LICEN*,WHENCE} \
|
||||||
${DESTDIR}/usr/share/licenses/${pkgname}
|
${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() {
|
linux-firmware-amd_package() {
|
||||||
|
|
Loading…
Reference in a new issue