remove rpi-eeprom-update.service
This commit is contained in:
parent
ffdb8e5ca2
commit
e0b0dcf012
@ -1,17 +1,15 @@
|
|||||||
%global _firmware_path /lib/firmware
|
%global _firmware_path /lib/firmware
|
||||||
%global _systemd_path /lib/systemd/system
|
|
||||||
%define url_version 2021.04.29-138a1
|
%define url_version 2021.04.29-138a1
|
||||||
|
|
||||||
%global debug_package %{nil}
|
%global debug_package %{nil}
|
||||||
|
|
||||||
Name: raspberrypi-eeprom
|
Name: raspberrypi-eeprom
|
||||||
Version: 2021.04.29
|
Version: 2021.04.29
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Raspberry Pi 4 boot EEPROM firmware
|
Summary: Raspberry Pi 4 boot EEPROM firmware
|
||||||
License: BSD-3-Clause and custom
|
License: BSD-3-Clause and custom
|
||||||
URL: https://github.com/raspberrypi/rpi-eeprom
|
URL: https://github.com/raspberrypi/rpi-eeprom
|
||||||
Source0: https://github.com/raspberrypi/rpi-eeprom/archive/v%{url_version}/rpi-eeprom-%{version}.tar.gz
|
Source0: https://github.com/raspberrypi/rpi-eeprom/archive/v%{url_version}/rpi-eeprom-%{version}.tar.gz
|
||||||
Source1: rpi-eeprom-update.service
|
|
||||||
|
|
||||||
Patch0000: python3_env.patch
|
Patch0000: python3_env.patch
|
||||||
|
|
||||||
@ -37,8 +35,6 @@ cd %{name}-%{version}
|
|||||||
%build
|
%build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}%{_systemd_path}
|
|
||||||
install -p -m 644 %{SOURCE1} %{buildroot}%{_systemd_path}/
|
|
||||||
cd %{name}-%{version}
|
cd %{name}-%{version}
|
||||||
mkdir -p %{buildroot}%{_bindir}
|
mkdir -p %{buildroot}%{_bindir}
|
||||||
install -m 0755 rpi-eeprom-config %{buildroot}%{_bindir}
|
install -m 0755 rpi-eeprom-config %{buildroot}%{_bindir}
|
||||||
@ -61,8 +57,10 @@ cd -
|
|||||||
%{_bindir}/rpi-eeprom-update
|
%{_bindir}/rpi-eeprom-update
|
||||||
%config /etc/default/rpi-eeprom-update
|
%config /etc/default/rpi-eeprom-update
|
||||||
%{_firmware_path}/raspberrypi
|
%{_firmware_path}/raspberrypi
|
||||||
%{_systemd_path}/*.service
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* 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
|
* Sat Sep 25 2021 Yafen Fang <yafen@iscas.ac.cn> - 2021.04.29-1
|
||||||
- init package
|
- init package
|
||||||
@ -1,11 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Check for Raspberry Pi EEPROM updates
|
|
||||||
After=boot.mount
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=oneshot
|
|
||||||
RemainAfterExit=true
|
|
||||||
ExecStart=/usr/bin/rpi-eeprom-update -s -a
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
||||||
Loading…
x
Reference in New Issue
Block a user