Add subpackages for RPi 3
This commit is contained in:
parent
457ee8a4c5
commit
794dc876bd
@ -8,7 +8,7 @@
|
||||
|
||||
Name: linux-firmware-raspberrypi
|
||||
Version: 20240528
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
Summary: Supplemental firmware used by Linux kernel for some Raspberry Pi models
|
||||
BuildArch: noarch
|
||||
ExclusiveArch: aarch64
|
||||
@ -27,6 +27,12 @@ Requires: linux-firmware
|
||||
This package provides suppremental firmware files not included in linux-firmware
|
||||
package to enable Bluetooth/Wi-Fi on some Raspberry Pi models.
|
||||
|
||||
%package rpi3
|
||||
Summary: Supplemental firmware used by Linux kernel for Raspberry Pi 3
|
||||
|
||||
%description rpi3
|
||||
This package provides suppremental firmware files specific to Raspberry Pi 3.
|
||||
|
||||
%prep
|
||||
%setup -n %{fn_srcdir}
|
||||
%setup -n %{fn_srcdir} -a 1
|
||||
@ -69,11 +75,24 @@ ln -s BCM4345C0.hcd.xz %{buildroot}%{_firmwarepath}/brcm/BCM4345C0.raspberrypi,5
|
||||
ln -s brcmfmac43455-sdio.bin.xz %{buildroot}%{_firmwarepath}/brcm/brcmfmac43455-sdio.raspberrypi,5-model-b.bin.xz
|
||||
ln -s brcmfmac43455-sdio.clm_blob.xz %{buildroot}%{_firmwarepath}/brcm/brcmfmac43455-sdio.raspberrypi,5-model-b.clm_blob.xz
|
||||
ln -s brcmfmac43455-sdio.txt.xz %{buildroot}%{_firmwarepath}/brcm/brcmfmac43455-sdio.raspberrypi,5-model-b.txt.xz
|
||||
# Raspberry Pi 3
|
||||
# These files need to be decompressed for Pi 3.
|
||||
# https://bugs.almalinux.org/view.php?id=544
|
||||
install -c -m 644 debian/config/brcm80211/brcm/brcmfmac43430-sdio.raspberrypi,3-model-b.bin %{buildroot}%{_firmwarepath}/brcm/
|
||||
install -c -m 644 debian/config/brcm80211/brcm/brcmfmac43430-sdio.raspberrypi,3-model-b.clm_blob %{buildroot}%{_firmwarepath}/brcm/
|
||||
install -c -m 644 debian/config/brcm80211/brcm/brcmfmac43430-sdio.raspberrypi,3-model-b.txt %{buildroot}%{_firmwarepath}/brcm/
|
||||
|
||||
%files
|
||||
%{_firmwarepath}/brcm/*
|
||||
|
||||
%files rpi3
|
||||
%{_firmwarepath}/brcm/brcmfmac43430-sdio.raspberrypi,3-model-b.*
|
||||
|
||||
%changelog
|
||||
* Mon Jul 14 2025 Koichiro Iwao <meta@almalinux.org> - 20240528-5
|
||||
- Add subpackage for RPi 3
|
||||
https://bugs.almalinux.org/view.php?id=544
|
||||
|
||||
* Wed Jul 10 2024 Koichiro Iwao <meta@almalinux.org> - 20240528-4
|
||||
- Fix wrong symlink for RPi CM4
|
||||
- Set ExclusiveArch to aarch64
|
||||
|
Loading…
Reference in New Issue
Block a user