From cda1e21bf79ae634f51da71cde9b2a9412bffd67370078e9787c443fcd592b67 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Fri, 5 Sep 2008 20:32:04 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dmraid?expand=0&rev=13 --- dmraid.changes | 5 +++++ dmraid.spec | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/dmraid.changes b/dmraid.changes index d37e311..df54bfc 100644 --- a/dmraid.changes +++ b/dmraid.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) + ------------------------------------------------------------------- Wed Aug 20 15:20:06 CEST 2008 - mkoenig@suse.de diff --git a/dmraid.spec b/dmraid.spec index db59650..7be52b3 100644 --- a/dmraid.spec +++ b/dmraid.spec @@ -27,7 +27,7 @@ Group: System/Base AutoReqProv: on Summary: A Device-Mapper Software RAID Support Tool Version: 1.0.0.rc14 -Release: 83 +Release: 88 Source: ftp://people.redhat.com/heinzm/sw/dmraid/src/dmraid-%{version}.tar.bz2 Source1: sysconfig.dmraid Source2: boot.dmraid @@ -114,9 +114,11 @@ install -m 755 %{S:4} $RPM_BUILD_ROOT/lib/mkinitrd/scripts/setup-dmraid.sh install -m 755 %{S:5} $RPM_BUILD_ROOT/lib/mkinitrd/scripts/boot-dmraid.sh %post +[ -x /sbin/mkinitrd_setup ] && mkinitrd_setup %{fillup_only} %postun +[ -x /sbin/mkinitrd_setup ] && mkinitrd_setup %{insserv_cleanup} %clean @@ -137,6 +139,8 @@ install -m 755 %{S:5} $RPM_BUILD_ROOT/lib/mkinitrd/scripts/boot-dmraid.sh /lib/mkinitrd/scripts/boot-dmraid.sh %changelog +* Wed Sep 03 2008 hare@suse.de +- Call mkinitrd_setup during %%post and %%postun (bnc#413709) * Wed Aug 20 2008 mkoenig@suse.de - enable SELinux support [fate#303662] * Wed Aug 13 2008 mkoenig@suse.de