diff --git a/mdadm.changes b/mdadm.changes index 8c13bf4..02aa800 100644 --- a/mdadm.changes +++ b/mdadm.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) + ------------------------------------------------------------------- Sun Aug 17 08:04:26 CEST 2008 - aj@suse.de diff --git a/mdadm.spec b/mdadm.spec index 871b129..9fe29aa 100644 --- a/mdadm.spec +++ b/mdadm.spec @@ -20,7 +20,7 @@ Name: mdadm Version: 2.6.7 -Release: 16 +Release: 22 BuildRequires: sgmltool PreReq: %fillup_prereq %insserv_prereq Obsoletes: raidtools @@ -76,10 +76,12 @@ install -m 644 %{S:2} $RPM_BUILD_ROOT%{_var}/adm/fillup-templates/ ln -sf ../../etc/init.d/mdadmd $RPM_BUILD_ROOT/%{_sbindir}/rcmdadmd %post +[ -x /sbin/mkinitrd_setup ] && mkinitrd_setup %{fillup_and_insserv -Y boot.md} %postun %restart_on_update mdadmd +[ -x /sbin/mkinitrd_setup ] && mkinitrd_setup %{insserv_cleanup} %preun @@ -136,6 +138,8 @@ rm -rf $RPM_BUILD_ROOT /lib/mkinitrd/scripts/boot-md.sh %changelog +* Wed Sep 03 2008 hare@suse.de +- Call mkinitrd_setup during %%post and %%postun (bnc#413709) * Sun Aug 17 2008 aj@suse.de - Fix init scripts. * Wed Jul 23 2008 hare@suse.de