update firmware

This commit is contained in:
yafen 2024-04-19 09:26:28 +08:00
parent 48cfc016b6
commit 0cc0985464
3 changed files with 9 additions and 5 deletions

View File

@ -1,11 +1,11 @@
%global _lib_path /usr/lib/firmware
%global _license_path /usr/share/licenses/raspi
%global firmware_release 1.20230306
%global firmware_release 1.20240306
%global debug_package %{nil}
Name: raspberrypi-firmware
Version: 20231219
Release: 8
Version: 20240419
Release: 9
Summary: Firmware files used for RaspberryPi
License: GPL+ and GPLv2+ and MIT and Redistributable, no modification permitted
ExclusiveArch: aarch64
@ -24,13 +24,13 @@ This package contains firmware images required by some RaspberryPi devices.
%setup -q -n %{name}-%{version} -a 1 -c
%install
mkdir -p %{buildroot}%{_lib_path}/brcm
mkdir -p %{buildroot}%{_lib_path}
mkdir -p %{buildroot}%{_license_path}
mkdir -p %{buildroot}/boot
cd %{name}-%{version}
install -p -m 644 License/* %{buildroot}%{_license_path}
install -p -m 644 $(find ./ -maxdepth 1 -type f) %{buildroot}%{_lib_path}
install -p -m 644 brcm/* %{buildroot}%{_lib_path}/brcm
cp -a brcm %{buildroot}%{_lib_path}
cd ../firmware-%{firmware_release}
install -p -m 644 boot/*.bin %{buildroot}/boot
install -p -m 644 boot/*.linux %{buildroot}/boot
@ -47,6 +47,10 @@ cd -
%license %{_license_path}
%changelog
* Fri Apr 19 2024 Yafen Fang<yafen@iscas.ac.cn> - 20240419-9
- update firmware to version 1.20240306
- update bluez-firmware to the latest commit (5a204dae9b3dc521842c56d93f6b4ecfbe4ff44d): 1.2-4+rpt11 release
* Tue Dec 19 2023 Yafen Fang<yafen@iscas.ac.cn> - 20231219-8
- delete files: regulatory.db* and LICENCE.wireless-regdb