From 826b083ee5d41adaaeb3b10ebdce3e065513d5ff3fc59e601348e9879cc36936 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Fri, 5 Sep 2008 22:58:18 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=31 --- nfs-utils.changes | 5 +++++ nfs-utils.spec | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/nfs-utils.changes b/nfs-utils.changes index 1c2c80f..d6b0458 100644 --- a/nfs-utils.changes +++ b/nfs-utils.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 18 18:09:11 CEST 2008 - mrueckert@suse.de diff --git a/nfs-utils.spec b/nfs-utils.spec index a1e627a..7a07248 100644 --- a/nfs-utils.spec +++ b/nfs-utils.spec @@ -22,7 +22,7 @@ BuildRequires: e2fsprogs-devel gcc-c++ krb5-devel libevent libgssglue-devel lib Url: http://nfs.sourceforge.net Summary: Support Utilities for Kernel nfsd Version: 1.1.3 -Release: 1 +Release: 2 Group: Productivity/Networking/NFS License: GPL v2 or later BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -177,6 +177,7 @@ install -m 755 %{S:10} $RPM_BUILD_ROOT/lib/mkinitrd/scripts/boot-nfs.sh rm -rf $RPM_BUILD_ROOT %post -n nfs-client +[ -x /sbin/mkinitrd_setup ] && mkinitrd_setup %{fillup_only -an nfs} %run_permissions @@ -185,6 +186,7 @@ rm -rf $RPM_BUILD_ROOT %postun -n nfs-client %restart_on_update nfs +[ -x /sbin/mkinitrd_setup ] && mkinitrd_setup %insserv_cleanup %verifyscript -n nfs-client %verify_permissions -e /sbin/mount.nfs @@ -274,6 +276,8 @@ rm -rf $RPM_BUILD_ROOT %doc nfs/*.html nfs/*.ps linux-nfs/* README.NFSv4 %changelog +* Wed Sep 03 2008 hare@suse.de +- Call mkinitrd_setup during %%post and %%postun (bnc#413709) * Mon Aug 18 2008 mrueckert@suse.de - remove outdated options in the fillup_and_insserv call * Fri Aug 15 2008 nfbrown@suse.de