From 0e5ab6cb16d303e7bdd5aca5c6ffddd2c5fcab23919aadb647bb6e00aa0e901f Mon Sep 17 00:00:00 2001 From: Mark Post Date: Thu, 24 Jan 2019 04:52:52 +0000 Subject: [PATCH] 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 --- s390-tools.changes | 6 ++++++ s390-tools.spec | 7 +++++++ 2 files changed, 13 insertions(+) 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}