From 0d8a5bec1ecc9848caefb6cd84f1f4ddb87a12bf58d3cb79302f2362b6726fe8 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Fri, 5 Sep 2008 20:11:30 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/busybox?expand=0&rev=10 --- busybox.changes | 5 +++++ busybox.spec | 12 +++++++++++- 2 files changed, 16 insertions(+), 1 deletion(-) 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