linux-firmware: fix ath9k_htc firmware symlinks.

The driver expects the firmware files in the top level firmware dir instead.
This commit is contained in:
Juan RP 2015-04-13 17:25:11 +02:00
parent fbed9bcb1d
commit e2c11c73bd

View file

@ -1,7 +1,7 @@
# Template file for 'linux-firmware'
pkgname=linux-firmware
version=20150413
revision=1
revision=2
noarch=yes
short_desc="Binary firmware blobs for the Linux kernel"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
@ -22,9 +22,10 @@ do_install() {
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
# Create symlinks for ath9k, this expects a filename without the version
# and in the top level firmware directory.
ln -sf htc_7010-1.4.0.fw ${DESTDIR}/usr/lib/firmware/htc_7010.fw
ln -sf htc_9271-1.4.0.fw ${DESTDIR}/usr/lib/firmware/htc_9271.fw
}
linux-firmware-amd_package() {