Install sysusers.d config
Resolves: RHEL-111270
This commit is contained in:
parent
4fc7bd2598
commit
755741ca0f
@ -29,6 +29,8 @@ BuildRequires: make
|
||||
BuildRequires: gnupg2
|
||||
%endif
|
||||
%{?systemd_requires}
|
||||
%{?sysusers_requires_compat}
|
||||
|
||||
%description
|
||||
The dhcpcd package provides a minimalistic network configuration daemon
|
||||
that supports IPv4 and IPv6 configuration including configuration discovery
|
||||
@ -54,6 +56,7 @@ export BINMODE=755
|
||||
find %{buildroot} -name '*.la' -delete -print
|
||||
install -D -m 644 %{SOURCE3} %{buildroot}%{_unitdir}/%{name}.service
|
||||
install -D -m 644 %{SOURCE4} %{buildroot}%{_unitdir}/%{name}@.service
|
||||
install -D -m 644 %{SOURCE5} %{buildroot}%{_sysusersdir}/%{name}.conf
|
||||
install -d %{buildroot}%{_sharedstatedir}/%{_name}
|
||||
|
||||
%pre
|
||||
@ -84,6 +87,7 @@ install -d %{buildroot}%{_sharedstatedir}/%{_name}
|
||||
%{_mandir}/man8/%{name}-run-hooks.8.gz
|
||||
%{_mandir}/man8/%{name}.8.gz
|
||||
%{_sbindir}/%{name}
|
||||
%{_sysusersdir}/%{name}.conf
|
||||
%{_unitdir}/%{name}.service
|
||||
%{_unitdir}/%{name}@.service
|
||||
%defattr(0644,root,dhcpcd,0755)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user