From 2f388e3f213682d2ffa2c6de0a7314498fac7430e35a442f2daeab4c66230425 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Fri, 5 Sep 2008 18:41:38 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sysvinit?expand=0&rev=24 --- sysvinit.changes | 5 +++++ sysvinit.spec | 9 ++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/sysvinit.changes b/sysvinit.changes index 9d2edb2..0ab7c00 100644 --- a/sysvinit.changes +++ b/sysvinit.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Sep 3 11:09:34 CEST 2008 - hare@suse.de + +- Call mkinitrd_setup during %post and %postun (bnc#413709) + ------------------------------------------------------------------- Mon Aug 25 14:46:12 CEST 2008 - prusnak@suse.cz diff --git a/sysvinit.spec b/sysvinit.spec index e085697..c8ddbb7 100644 --- a/sysvinit.spec +++ b/sysvinit.spec @@ -30,7 +30,7 @@ Group: System/Base PreReq: coreutils AutoReqProv: on Version: 2.86 -Release: 173 +Release: 176 Summary: SysV-Style init BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: libselinux-devel libsepol-devel @@ -213,6 +213,11 @@ if test -x /sbin/telinit -a -p /dev/initctl -a -f /proc/1/exe -a -d /proc/1/root /sbin/telinit u fi fi +[ -x /sbin/mkinitrd_setup ] && mkinitrd_setup +exit 0 + +%postun +[ -x /sbin/mkinitrd_setup ] && mkinitrd_setup exit 0 %clean @@ -310,6 +315,8 @@ rm -rf ${RPM_BUILD_ROOT} %doc %{_mandir}/man8/startpar.8.gz %changelog +* Wed Sep 03 2008 hare@suse.de +- Call mkinitrd_setup during %%post and %%postun (bnc#413709) * Mon Aug 25 2008 prusnak@suse.cz - enabled SELinux support [Fate#303662] * Wed Aug 13 2008 werner@suse.de