From fbed9bcb1d3c5963406990fb98bb6a5441fee5c5 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 13 Apr 2015 16:58:59 +0200 Subject: [PATCH] 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_.fw" not "htc_-.fw". See https://groups.google.com/forum/#!topic/voidlinux/HMPjUxLHugs --- srcpkgs/linux-firmware/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/linux-firmware/template b/srcpkgs/linux-firmware/template index beab58e3290..2c6ac649ea5 100644 --- a/srcpkgs/linux-firmware/template +++ b/srcpkgs/linux-firmware/template @@ -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() {