SHA256
1
0
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:
Mark Post 2019-01-24 04:52:52 +00:00 committed by Git OBS Bridge
parent a3eb83fa88
commit 0e5ab6cb16
2 changed files with 13 additions and 0 deletions

View File

@ -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

View File

@ -566,6 +566,8 @@ fi
grep -q '^%{_bindir}/ts-shell$' %{_sysconfdir}/shells \
|| echo "%{_bindir}/ts-shell" >> %{_sysconfdir}/shells
%{?regenerate_initrd_post}
%post -n osasnmpd
%{fillup_only -n osasnmpd}
@ -618,6 +620,11 @@ if test x$1 = x0; then
chmod 0644 %{_sysconfdir}/shells
fi
%{?regenerate_initrd_post}
%posttrans
%{?regenerate_initrd_posttrans}
%preun -n osasnmpd
%{stop_on_removal osasnmpd}