From 9dcb27306dc77ebf671bd0ce7d20500a3ee6448f Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Wed, 16 Sep 2009 23:39:24 +0000 Subject: [PATCH] Update monitoring script --- lvm2.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lvm2.spec b/lvm2.spec index edc1d51..e32e12b 100644 --- a/lvm2.spec +++ b/lvm2.spec @@ -16,6 +16,7 @@ Source0: ftp://sources.redhat.com/pub/lvm2/LVM2.%{version}.tgz # Customise lvmconf.sh for built-in clustered locking in Fedora Patch0: cluster-locking-built-in.patch +Patch1: lvm2-2_02_53-lvm2_monitoring_init.patch BuildRequires: libselinux-devel >= 1.30.19-4, libsepol-devel BuildRequires: ncurses-devel @@ -44,6 +45,7 @@ or more physical volumes and creating one or more logical volumes %prep %setup -q -n LVM2.%{version} %patch0 -p1 -b .locking +%patch1 -p1 -b .lvm2_monitoring %build %define _exec_prefix / @@ -65,7 +67,7 @@ install -m 0600 /dev/null $RPM_BUILD_ROOT/etc/lvm/cache/.cache mkdir -p -m755 $RPM_BUILD_ROOT/etc/rc.d/init.d install scripts/clvmd_init_red_hat $RPM_BUILD_ROOT/etc/rc.d/init.d/clvmd -install -m 0755 scripts/lvm2_monitoring_init_rhel4 $RPM_BUILD_ROOT/etc/rc.d/init.d/lvm2-monitor +install -m 0755 scripts/lvm2_monitoring_init_red_hat $RPM_BUILD_ROOT/etc/rc.d/init.d/lvm2-monitor install -m 0755 scripts/lvmconf.sh $RPM_BUILD_ROOT/sbin/lvmconf %clean