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
|
||||
%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
|
||||
%global ntpvendor %(source /etc/os-release; echo ${ID})
|
||||
%{!?ntpvendor: echo 'NTP vendor zone is not set!'; exit 1}
|
||||
|
Loading…
Reference in New Issue
Block a user