Compare commits
No commits in common. "365dd85f95c9018973322e42b28ff130c81b6101" and "ac76ce2f8ab163860c8454015d251d71e11e9981" have entirely different histories.
365dd85f95
...
ac76ce2f8a
@ -1,10 +0,0 @@
|
|||||||
diff --git a/rpi-eeprom-config b/rpi-eeprom-config
|
|
||||||
index 2eaf252..fe72da5 100755
|
|
||||||
--- a/rpi-eeprom-config
|
|
||||||
+++ b/rpi-eeprom-config
|
|
||||||
@@ -1,4 +1,4 @@
|
|
||||||
-#!/usr/bin/env python3
|
|
||||||
+#!/usr/bin/python3
|
|
||||||
|
|
||||||
"""
|
|
||||||
rpi-eeprom-config
|
|
||||||
@ -1,94 +0,0 @@
|
|||||||
%global _firmware_path /lib/firmware
|
|
||||||
%define url_version 2024.04.20-2712
|
|
||||||
|
|
||||||
%global debug_package %{nil}
|
|
||||||
|
|
||||||
Name: raspberrypi-eeprom
|
|
||||||
Version: 2024.04.20
|
|
||||||
Release: 1
|
|
||||||
Summary: Raspberry Pi 4 and Pi 5 EEPROM firmware
|
|
||||||
License: BSD-3-Clause and custom
|
|
||||||
URL: https://github.com/raspberrypi/rpi-eeprom
|
|
||||||
Source0: https://github.com/raspberrypi/rpi-eeprom/archive/v%{url_version}/rpi-eeprom-%{version}.tar.gz
|
|
||||||
|
|
||||||
Patch0000: python3_env.patch
|
|
||||||
|
|
||||||
AutoReq: no
|
|
||||||
AutoProv: yes
|
|
||||||
|
|
||||||
Provides: rpi-eeprom
|
|
||||||
Requires: raspberrypi-firmware libraspberrypi-bin python3 binutils pciutils
|
|
||||||
Provides: rpi-eeprom-config = %{version}
|
|
||||||
Obsoletes: rpi-eeprom-config < %{version}
|
|
||||||
BuildRequires: fdupes
|
|
||||||
ExclusiveArch: aarch64
|
|
||||||
ExclusiveOS: Linux
|
|
||||||
|
|
||||||
%description
|
|
||||||
Installation scripts and binaries for the Raspberry Pi 4 and Raspberry Pi 5 bootloader EEPROMs.
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%setup -q -n %{name}-%{version} -c
|
|
||||||
mv rpi-eeprom-%{url_version} %{name}-%{version}
|
|
||||||
cd %{name}-%{version}
|
|
||||||
%patch0000 -p1
|
|
||||||
|
|
||||||
%build
|
|
||||||
|
|
||||||
%install
|
|
||||||
cd %{name}-%{version}
|
|
||||||
mkdir -p %{buildroot}%{_bindir}
|
|
||||||
install -m 0755 rpi-eeprom-config %{buildroot}%{_bindir}
|
|
||||||
install -m 0755 rpi-eeprom-digest %{buildroot}%{_bindir}
|
|
||||||
install -m 0755 rpi-eeprom-update %{buildroot}%{_bindir}
|
|
||||||
mkdir -p %{buildroot}/etc/default
|
|
||||||
install -m 644 rpi-eeprom-update-default %{buildroot}/etc/default/rpi-eeprom-update
|
|
||||||
install -m 0755 tools/rpi-bootloader-key-convert %{buildroot}%{_bindir}
|
|
||||||
install -m 0755 tools/rpi-otp-private-key %{buildroot}%{_bindir}
|
|
||||||
install -m 0755 tools/rpi-sign-bootcode %{buildroot}%{_bindir}
|
|
||||||
|
|
||||||
for model in 2711 2712; do
|
|
||||||
mkdir -p %{buildroot}%{_firmware_path}/raspberrypi/bootloader-$model
|
|
||||||
install -m 644 firmware-$model/release-notes.md %{buildroot}%{_firmware_path}/raspberrypi/bootloader-$model/
|
|
||||||
mv firmware-$model/beta %{buildroot}%{_firmware_path}/raspberrypi/bootloader-$model
|
|
||||||
mv firmware-$model/critical %{buildroot}%{_firmware_path}/raspberrypi/bootloader-$model
|
|
||||||
mv firmware-$model/stable %{buildroot}%{_firmware_path}/raspberrypi/bootloader-$model
|
|
||||||
cp -a firmware-$model/latest %{buildroot}%{_firmware_path}/raspberrypi/bootloader-$model
|
|
||||||
cp -a firmware-$model/default %{buildroot}%{_firmware_path}/raspberrypi/bootloader-$model
|
|
||||||
%fdupes -s %{buildroot}%{_firmware_path}/raspberrypi/bootloader-$model
|
|
||||||
done
|
|
||||||
|
|
||||||
%files
|
|
||||||
%license %{name}-%{version}/LICENSE
|
|
||||||
%{_bindir}/rpi-eeprom-config
|
|
||||||
%{_bindir}/rpi-eeprom-digest
|
|
||||||
%{_bindir}/rpi-eeprom-update
|
|
||||||
%{_bindir}/rpi-bootloader-key-convert
|
|
||||||
%{_bindir}/rpi-otp-private-key
|
|
||||||
%{_bindir}/rpi-sign-bootcode
|
|
||||||
%config /etc/default/rpi-eeprom-update
|
|
||||||
%{_firmware_path}/raspberrypi
|
|
||||||
|
|
||||||
%changelog
|
|
||||||
* Mon Apr 22 2024 Yafen Fang <yafen@iscas.ac.cn> - 2024.04.20-1
|
|
||||||
- update upstream version to 2024.04.20-2712
|
|
||||||
- add Raspberry Pi 5 bootloader EEPROMs
|
|
||||||
- add rpi-bootloader-key-convert, rpi-otp-private-key, rpi-sign-bootcode
|
|
||||||
- remove patch for rpi-eeprom-update: use 'tr' instead of 'strings'
|
|
||||||
|
|
||||||
* Sat Mar 18 2023 Yafen Fang <yafen@iscas.ac.cn> - 2023.01.11-1
|
|
||||||
- update upstream version to 2023.01.11-138c0
|
|
||||||
- update patch for rpi-eeprom-update: use 'tr' instead of 'strings'
|
|
||||||
|
|
||||||
* Fri Mar 25 2022 Yafen Fang <yafen@iscas.ac.cn> - 2022.01.25-2
|
|
||||||
- remove unused license: uIP
|
|
||||||
|
|
||||||
* Tue Mar 22 2022 Yafen Fang <yafen@iscas.ac.cn> - 2022.01.25-1
|
|
||||||
- update upstream version to 2022.01.25-138a1
|
|
||||||
- fix for openEuler after following up upstream
|
|
||||||
|
|
||||||
* Sun Sep 26 2021 Yafen Fang <yafen@iscas.ac.cn> - 2021.04.29-2
|
|
||||||
- remove rpi-eeprom-update.service
|
|
||||||
|
|
||||||
* Sat Sep 25 2021 Yafen Fang <yafen@iscas.ac.cn> - 2021.04.29-1
|
|
||||||
- init package
|
|
||||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user