Change sysusers u! lines to u because we don't have support in rpm
(cherry picked from commit 7bd1d09f7fd16d20a041de0eb9af7cc8dbef6a99) Resolves: RHEL-129788
This commit is contained in:
parent
cbf9da6b59
commit
8d35940867
@ -1044,6 +1044,10 @@ useful to test systemd internals.
|
||||
%prep
|
||||
%autosetup -S git
|
||||
|
||||
# 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}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user