diff --git a/busybox.changes b/busybox.changes index 028d844..4fbf423 100644 --- a/busybox.changes +++ b/busybox.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) + ------------------------------------------------------------------- Fri Aug 22 16:55:24 CEST 2008 - prusnak@suse.cz diff --git a/busybox.spec b/busybox.spec index 8e18a48..eb0fe18 100644 --- a/busybox.spec +++ b/busybox.spec @@ -23,7 +23,7 @@ BuildRequires: dietlibc BuildRequires: libselinux-devel Url: http://www.busybox.net/ Version: 1.8.2 -Release: 44 +Release: 47 Summary: The Swiss Army Knife of Embedded Linux License: GPL v2 or later Group: System/Base @@ -90,6 +90,14 @@ install -d $RPM_BUILD_ROOT/lib/mkinitrd/scripts install -m 755 %{S:3} $RPM_BUILD_ROOT/lib/mkinitrd/scripts/setup-busybox.sh install -m 755 %{S:4} $RPM_BUILD_ROOT/lib/mkinitrd/scripts/boot-busybox.sh +%post +[ -x /sbin/mkinitrd_setup ] && mkinitrd_setup +exit 0 + +%postun +[ -x /sbin/mkinitrd_setup ] && mkinitrd_setup +exit 0 + %files %defattr(-,root,root) %doc docs/mdev.txt @@ -104,6 +112,8 @@ install -m 755 %{S:4} $RPM_BUILD_ROOT/lib/mkinitrd/scripts/boot-busybox.sh /lib/mkinitrd/scripts/boot-busybox.sh %changelog +* Wed Sep 03 2008 hare@suse.de +- Call mkinitrd_setup during %%post and %%postun (bnc#413709) * Fri Aug 22 2008 prusnak@suse.cz - enabled SELinux support [Fate#303662] * Wed Jul 23 2008 hare@suse.de