forked from pool/s390-tools
Accepting request 668209 from home:markkp:branches:Base:System
- Updated the spec file to regenerate the initrd in the post, postun, and poststrans scriptlets. (bsc#1112018) OBS-URL: https://build.opensuse.org/request/show/668209 OBS-URL: https://build.opensuse.org/package/show/Base:System/s390-tools?expand=0&rev=70
This commit is contained in:
parent
a3eb83fa88
commit
0e5ab6cb16
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 24 04:43:39 UTC 2019 - mpost@suse.com
|
||||||
|
|
||||||
|
- Updated the spec file to regenerate the initrd in the post, postun,
|
||||||
|
and poststrans scriptlets. (bsc#1112018)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jan 15 21:37:32 UTC 2019 - mpost@suse.com
|
Tue Jan 15 21:37:32 UTC 2019 - mpost@suse.com
|
||||||
|
|
||||||
|
@ -566,6 +566,8 @@ fi
|
|||||||
grep -q '^%{_bindir}/ts-shell$' %{_sysconfdir}/shells \
|
grep -q '^%{_bindir}/ts-shell$' %{_sysconfdir}/shells \
|
||||||
|| echo "%{_bindir}/ts-shell" >> %{_sysconfdir}/shells
|
|| echo "%{_bindir}/ts-shell" >> %{_sysconfdir}/shells
|
||||||
|
|
||||||
|
%{?regenerate_initrd_post}
|
||||||
|
|
||||||
%post -n osasnmpd
|
%post -n osasnmpd
|
||||||
%{fillup_only -n osasnmpd}
|
%{fillup_only -n osasnmpd}
|
||||||
|
|
||||||
@ -618,6 +620,11 @@ if test x$1 = x0; then
|
|||||||
chmod 0644 %{_sysconfdir}/shells
|
chmod 0644 %{_sysconfdir}/shells
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
%{?regenerate_initrd_post}
|
||||||
|
|
||||||
|
%posttrans
|
||||||
|
%{?regenerate_initrd_posttrans}
|
||||||
|
|
||||||
%preun -n osasnmpd
|
%preun -n osasnmpd
|
||||||
%{stop_on_removal osasnmpd}
|
%{stop_on_removal osasnmpd}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user