remove rpi-eeprom-update.service

This commit is contained in:
yafen 2021-09-29 03:19:13 +08:00
parent ffdb8e5ca2
commit e0b0dcf012
2 changed files with 4 additions and 17 deletions

View File

@ -1,17 +1,15 @@
%global _firmware_path /lib/firmware
%global _systemd_path /lib/systemd/system
%define url_version 2021.04.29-138a1
%global debug_package %{nil}
Name: raspberrypi-eeprom
Version: 2021.04.29
Release: 1
Release: 2
Summary: Raspberry Pi 4 boot 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
Source1: rpi-eeprom-update.service
Patch0000: python3_env.patch
@ -37,8 +35,6 @@ cd %{name}-%{version}
%build
%install
mkdir -p %{buildroot}%{_systemd_path}
install -p -m 644 %{SOURCE1} %{buildroot}%{_systemd_path}/
cd %{name}-%{version}
mkdir -p %{buildroot}%{_bindir}
install -m 0755 rpi-eeprom-config %{buildroot}%{_bindir}
@ -61,8 +57,10 @@ cd -
%{_bindir}/rpi-eeprom-update
%config /etc/default/rpi-eeprom-update
%{_firmware_path}/raspberrypi
%{_systemd_path}/*.service
%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
- init package

View File

@ -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