firmware-brcm43752: install symlinks to fix driver loading (MR 5224)

At some point the driver started using symlinks w/ machine IDs for
finding/loading fw, and for some reason I thought it was a good idea to
not install those symlinks.

Fixes this failure when loading the brcmfmac driver:
brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43752-sdio.purism,librem5r4.bin failed with error -2

[ci:skip-build]: already built successfully in CI
This commit is contained in:
Clayton Craft 2024-06-10 12:19:08 -07:00 committed by Oliver Smith
parent 65679fec40
commit 263d00790e
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -1,7 +1,7 @@
# Maintainer: Clayton Craft <clayton@craftyguy.net> # Maintainer: Clayton Craft <clayton@craftyguy.net>
pkgname=firmware-brcm43752 pkgname=firmware-brcm43752
pkgver=0.3_git20230613 pkgver=3_git20230613
pkgrel=0 pkgrel=1
_commit="84b8b00f57a9495c05190477c5895cd66f69b873" _commit="84b8b00f57a9495c05190477c5895cd66f69b873"
pkgdesc="Firmware for the Broadcom brcm43752 Wifi/BT adapter" pkgdesc="Firmware for the Broadcom brcm43752 Wifi/BT adapter"
url="https://source.puri.sm/Librem5/firmware-brcm43752-nonfree" url="https://source.puri.sm/Librem5/firmware-brcm43752-nonfree"
@ -12,10 +12,8 @@ source="https://source.puri.sm/Librem5/firmware-brcm43752-nonfree/-/archive/$_co
builddir="$srcdir/firmware-brcm43752-nonfree-$_commit" builddir="$srcdir/firmware-brcm43752-nonfree-$_commit"
package() { package() {
mkdir -p "$pkgdir/lib/firmware/postmarketos"
for f in brcmfmac43752-sdio.bin brcmfmac43752-sdio.clm_blob brcmfmac43752-sdio.txt BCM4362A2.hcd; do cp -r "$builddir/firmware/brcm" "$pkgdir/lib/firmware/postmarketos"
install -Dm644 firmware/brcm/"$f" "$pkgdir/lib/firmware/postmarketos/brcm/$f"
done
} }
sha512sums=" sha512sums="