alarm/firmware-raspberrypi to 20220613-1

This commit is contained in:
graysky 2022-06-14 05:52:53 -04:00
parent c57b0f2f43
commit cd1f79ff9a

View file

@ -3,9 +3,9 @@
# Contributor: Ray Sherwin <sliick517d@gmail.com> # Contributor: Ray Sherwin <sliick517d@gmail.com>
pkgname=firmware-raspberrypi pkgname=firmware-raspberrypi
_firmcommit=4db8c5d80daf2220d7824cfa6052f0bb108612ea _firmcommit=ef28cdc5bc2323d35212d9ca66dfa1402c996abc
_bluezcommit=31ad68831357d2019624004f1f0846475671088f _bluezcommit=31ad68831357d2019624004f1f0846475671088f
pkgver=20220514 pkgver=20220613
pkgrel=1 pkgrel=1
pkgdesc="Additional firmware for Raspberry Pi" pkgdesc="Additional firmware for Raspberry Pi"
arch=('any') arch=('any')
@ -37,11 +37,15 @@ sha256sums=('SKIP'
'f978fbc40db75ba3213a4472023496d0716706eb1a6f078f207ac027c5753f43') 'f978fbc40db75ba3213a4472023496d0716706eb1a6f078f207ac027c5753f43')
package() { package() {
# https://github.com/RPi-Distro/firmware-nonfree/issues/26
unlink "$srcdir"/firmware-nonfree/debian/config/brcm80211/brcm/brcmfmac43455-sdio.bin
install -d "$pkgdir"/usr/lib/firmware/updates/brcm "$pkgdir"/usr/share/alsa/cards/ install -d "$pkgdir"/usr/lib/firmware/updates/brcm "$pkgdir"/usr/share/alsa/cards/
install -m 0644 *.hcd "$pkgdir"/usr/lib/firmware/updates/brcm install -m 0644 *.hcd "$pkgdir"/usr/lib/firmware/updates/brcm
install -m 0644 RPi-WM8804.conf "$pkgdir"/usr/share/alsa/cards/ install -m 0644 RPi-WM8804.conf "$pkgdir"/usr/share/alsa/cards/
install -m 0644 "$srcdir"/firmware-nonfree/debian/config/brcm80211/brcm/* "$pkgdir"/usr/lib/firmware/updates/brcm install -m 0644 "$srcdir"/firmware-nonfree/debian/config/brcm80211/brcm/* "$pkgdir"/usr/lib/firmware/updates/brcm
rm "$pkgdir"/usr/lib/firmware/updates/brcm/{brcmfmac43430-sdio.bin,brcmfmac43430-sdio.txt} rm "$pkgdir"/usr/lib/firmware/updates/brcm/{brcmfmac43430-sdio.bin,brcmfmac43430-sdio.txt}
install -m 0644 "$srcdir"/firmware-nonfree/debian/config/brcm80211/cypress/{cyfmac43455-sdio-*.bin,README.txt} "$pkgdir"/usr/lib/firmware/updates/brcm
# make some symbolic links # make some symbolic links
cd "$pkgdir"/usr/lib/firmware/updates/brcm cd "$pkgdir"/usr/lib/firmware/updates/brcm
@ -51,7 +55,6 @@ package() {
ln -s brcmfmac43455-sdio.raspberrypi,4-model-b.txt brcmfmac43455-sdio.raspberrypi,4-compute-module.txt ln -s brcmfmac43455-sdio.raspberrypi,4-model-b.txt brcmfmac43455-sdio.raspberrypi,4-compute-module.txt
ln -s BCM43430B0.hcd BCM.hcd ln -s BCM43430B0.hcd BCM.hcd
# fix for no wifi on pi zero 2 w BCM43430/2 # see README.txt: we can use either the -standard or -minimal files so use standard by default
ln -s brcmfmac43436f-sdio.bin brcmfmac43436-sdio.bin ln -s cyfmac43455-sdio-standard.bin brcmfmac43455-sdio.bin
ln -s brcmfmac43436f-sdio.txt brcmfmac43436-sdio.txt
} }