Disable systemd-boot-update.service in presets
This commit is contained in:
parent
0dfb1a37e1
commit
8eea43e714
@ -525,6 +525,10 @@ package and is meant for use in exitrds.
|
|||||||
%prep
|
%prep
|
||||||
%autosetup -n %{?commit:%{name}%{?stable:-stable}-%{commit}}%{!?commit:%{name}%{?stable:-stable}-%{version_no_tilde}} -p1
|
%autosetup -n %{?commit:%{name}%{?stable:-stable}-%{commit}}%{!?commit:%{name}%{?stable:-stable}-%{version_no_tilde}} -p1
|
||||||
|
|
||||||
|
# We want to update sd-boot from packaging scriptlets after package update.
|
||||||
|
# Let's disable the service.
|
||||||
|
sed -r -i '/^enable systemd-boot-update.service/d' presets/90-systemd.preset
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%global ntpvendor %(source /etc/os-release; echo ${ID})
|
%global ntpvendor %(source /etc/os-release; echo ${ID})
|
||||||
%{!?ntpvendor: echo 'NTP vendor zone is not set!'; exit 1}
|
%{!?ntpvendor: echo 'NTP vendor zone is not set!'; exit 1}
|
||||||
|
Loading…
Reference in New Issue
Block a user