update to 2020.09.03_138a1 [release 2020.09.03_138a1-1mamba;Wed Mar 03 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 17:28:56 +01:00
parent c8edd649e8
commit 4495300e29

View File

@ -1,5 +1,6 @@
%define pkgver %(echo %version | tr _ -)
Name: rpi-eeprom Name: rpi-eeprom
Version: 0.20200209git Version: 2020.09.03_138a1
Release: 1mamba Release: 1mamba
Summary: Raspberry Pi4 boot EEPROM updater Summary: Raspberry Pi4 boot EEPROM updater
Group: System/Kernel and Hardware Group: System/Kernel and Hardware
@ -7,21 +8,19 @@ Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://rpf.io/eeprom URL: https://rpf.io/eeprom
## GITSOURCE https://github.com/raspberrypi/rpi-eeprom.git master Source: https://github.com/raspberrypi/rpi-eeprom.git/v%{pkgver}/rpi-eeprom-%{version}.tar.bz2
Source: https://github.com/raspberrypi/rpi-eeprom.git/master/rpi-eeprom-%{version}.tar.bz2
Patch0: rpi-eeprom-0.20200209git-rpi-eprom-update.patch Patch0: rpi-eeprom-0.20200209git-rpi-eprom-update.patch
License: BSD License: BSD
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
ExclusiveArch: arm ExclusiveArch: arm aarch64
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
Raspberry Pi4 boot EEPROM updater. Raspberry Pi4 boot EEPROM updater.
%prep %prep
%setup -q %setup -q
## Patch /opt/vc/bin into PATH in script due to weird install location of raspberrypi-firmware ## Patch /opt/vc/bin into PATH in script due to install location of raspberrypi-firmware
%patch0 -p0 %patch0 -p0
%build %build
@ -34,8 +33,8 @@ install -D -m 755 rpi-eeprom-config %{buildroot}%{_bindir}/rpi-eeprom-config
install -D -m 755 rpi-eeprom-update %{buildroot}%{_bindir}/rpi-eeprom-update install -D -m 755 rpi-eeprom-update %{buildroot}%{_bindir}/rpi-eeprom-update
# Copy all the firmware and files to the right place # Copy all the firmware and files to the right place
install -d -m 755 %{buildroot}%{_prefix}/lib/firmware/raspberrypi/bootloader install -d -m 755 %{buildroot}/lib/firmware/raspberrypi/bootloader
cp -a firmware/* %{buildroot}%{_prefix}/lib/firmware/raspberrypi/bootloader cp -a firmware/* %{buildroot}/lib/firmware/raspberrypi/bootloader
# Copy the override in place # Copy the override in place
install -d -m 755 %{buildroot}%{_sysconfdir}/default install -d -m 755 %{buildroot}%{_sysconfdir}/default
@ -50,17 +49,28 @@ install -D -m 644 rpi-eeprom-update-default %{buildroot}%{_sysconfdir}/default/r
%{_bindir}/rpi-eeprom-config %{_bindir}/rpi-eeprom-config
%{_bindir}/rpi-eeprom-update %{_bindir}/rpi-eeprom-update
%{_bindir}/vl805 %{_bindir}/vl805
%dir %{_prefix}/lib/firmware/raspberrypi %dir /lib/firmware/raspberrypi
%dir %{_prefix}/lib/firmware/raspberrypi/bootloader %dir /lib/firmware/raspberrypi/bootloader
%dir %{_prefix}/lib/firmware/raspberrypi/bootloader/beta /lib/firmware/raspberrypi/bootloader/release-notes.md
%{_prefix}/lib/firmware/raspberrypi/bootloader/beta/*.bin /lib/firmware/raspberrypi/bootloader/vl805
%dir %{_prefix}/lib/firmware/raspberrypi/bootloader/critical %dir /lib/firmware/raspberrypi/bootloader/beta
%{_prefix}/lib/firmware/raspberrypi/bootloader/critical/*.bin /lib/firmware/raspberrypi/bootloader/beta/*.bin
%{_prefix}/lib/firmware/raspberrypi/bootloader/raspberry_pi4_network_boot_beta.md %dir /lib/firmware/raspberrypi/bootloader/critical
%{_prefix}/lib/firmware/raspberrypi/bootloader/release-notes.md /lib/firmware/raspberrypi/bootloader/critical/*.bin
%{_prefix}/lib/firmware/raspberrypi/bootloader/vl805 %dir /lib/firmware/raspberrypi/bootloader/stable
/lib/firmware/raspberrypi/bootloader/stable/*.bin
%dir /lib/firmware/raspberrypi/bootloader/old
%dir /lib/firmware/raspberrypi/bootloader/old/beta
/lib/firmware/raspberrypi/bootloader/old/beta/*.bin
%dir /lib/firmware/raspberrypi/bootloader/old/critical
/lib/firmware/raspberrypi/bootloader/old/critical/*.bin
%dir /lib/firmware/raspberrypi/bootloader/old/stable
/lib/firmware/raspberrypi/bootloader/old/stable/*.bin
%doc LICENSE %doc LICENSE
%changelog %changelog
* Wed Mar 03 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2020.09.03_138a1-1mamba
- update to 2020.09.03_138a1
* Sun Feb 09 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.20200209git-1mamba * Sun Feb 09 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.20200209git-1mamba
- package created using the webbuild interface - package created using the webbuild interface