linux-firmware: move cypress firmware to linux-firmware-broadcom.

Many people, including those using our linux package, will only have
linux-firmware-network installed, not linux-firmware; therefore, many
symlinks from the linux-firmware-broadcom package (pulled in by
linux-firmware-network) would be broken, because the cypress files were
in linux-firmware.

Reported by Stas over email.
This commit is contained in:
Érico Nogueira 2021-03-30 13:48:34 -03:00 committed by Érico Nogueira Rolim
parent e81e121126
commit b3b42d6317

View file

@ -1,7 +1,7 @@
# Template file for 'linux-firmware'
pkgname=linux-firmware
version=20210315
revision=1
revision=2
depends="${pkgname}-amd>=${version}_${revision} ${pkgname}-network>=${version}_${revision}"
short_desc="Binary firmware blobs for the Linux kernel"
maintainer="Érico Nogueira <ericonr@disroot.org>"
@ -45,6 +45,9 @@ linux-firmware-broadcom_package() {
pkg_install() {
vmove usr/lib/firmware/brcm
vmove usr/share/licenses/linux-firmware/LICENCE.broadcom_bcm43xx
# firmware/brcm contains multiple symlinks to ../cypress/
vmove usr/lib/firmware/cypress
vmove usr/share/licenses/linux-firmware/LICENCE.cypress
}
}