Add symlink for RPi CM4

This commit is contained in:
Koichiro Iwao 2024-06-03 04:05:17 +00:00
parent c98e100b2e
commit f686057b99

View File

@ -8,7 +8,7 @@
Name: linux-firmware-raspberrypi
Version: 20240528
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Supplemental firmware used by Linux kernel for some Raspberry Pi models
BuildArch: noarch
@ -55,6 +55,10 @@ xz -C crc32 %{buildroot}%{_firmwarepath}/brcm/BCM43430B0.hcd
xz -C crc32 %{buildroot}%{_firmwarepath}/brcm/BCM4345C0.hcd
xz -C crc32 %{buildroot}%{_firmwarepath}/brcm/BCM4345C5.hcd
# Create model-specific symlinks
# Raspberry Pi CM 4
ln -s brcmfmac43455-sdio.bin.xz %{buildroot}%{_firmwarepath}/brcm/brcmfmac43455-sdio.raspberrypi,4-compute-module.bin.xz
ln -s brcmfmac43455-sdio.clm_blob.xz %{buildroot}%{_firmwarepath}/brcm/brcmfmac43455-sdio.raspberrypi,4-compute-module.clm_blob.xz
ln -s brcmfmac43455-sdio.bin.xz %{buildroot}%{_firmwarepath}/brcm/brcmfmac43455-sdio.raspberrypi,4-compute-module.txt.xz
# Raspberry Pi 400
ln -s brcmfmac43456-sdio.bin.xz %{buildroot}%{_firmwarepath}/brcm/brcmfmac43456-sdio.raspberrypi,400.bin.xz
ln -s brcmfmac43456-sdio.clm_blob.xz %{buildroot}%{_firmwarepath}/brcm/brcmfmac43456-sdio.raspberrypi,400.clm_blob.xz
@ -69,6 +73,9 @@ ln -s brcmfmac43455-sdio.txt.xz %{buildroot}%{_firmwarepath}/brcm/brcmfmac43455-
%{_firmwarepath}/brcm/*
%changelog
* Mon Jun 03 2024 Koichiro Iwao <meta@almalinux.org> - 20240528-3
- Add symlink for RPi CM4
* Tue May 28 2024 Koichiro Iwao <meta@almalinux.org> - 20240528-2
- Fix symlink typo and add missing file