Change sysusers u! lines to u because we don't have support in rpm

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2024-11-15 22:05:21 +01:00
commit 7bd1d09f7f

View file

@ -689,6 +689,10 @@ main systemd package and is meant for use in exitrds.
%autosetup -n %{name}-%{version_no_tilde} -p1
%endif
# Disable user lockdown until rpm implements it natively.
# https://github.com/rpm-software-management/rpm/issues/3450
sed -r -i 's/^u!/u/' sysusers.d/*.conf*
%build
%global ntpvendor %(source /etc/os-release; echo ${ID})
%{!?ntpvendor: echo 'NTP vendor zone is not set!'; exit 1}