diff --git a/s390-tools.changes b/s390-tools.changes index 97cfcaa..68fe251 100644 --- a/s390-tools.changes +++ b/s390-tools.changes @@ -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 diff --git a/s390-tools.spec b/s390-tools.spec index 865dfc2..f1fb558 100644 --- a/s390-tools.spec +++ b/s390-tools.spec @@ -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}