From 06d4cced24f9854e3439f03a0c940adc5306de48 Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Tue, 6 Nov 2012 10:13:07 +0100 Subject: build: include OCF resource agents by default and package them This change introduces a glusterfs-resource-agents sub-package that contains the Open Cluster Framework (OCF) Resource Agents (RA). It also changes the build infrastructure to include the RA by default, making them available for anyone who is interested in using them with a OCF compatible Hight-Availability solution like Pacemaker. Build the RPMs without RA: $ make dist && rpmbuild -ta --without ocf *.gz Build the RPMs with RA (default): $ make dist && rpmbuild -ta *.gz There is no need to run ./autogen.sh from within the .spec, the whole autotools infrastructure is included in the 'make dist' tarball already. This also adds a test-case which builds the rpms with mock for the latest two EPEL releases. Change-Id: I12ef5f30f466868825352376156fb4e56b135c58 BUG: 869559 Signed-off-by: Niels de Vos Reviewed-on: http://review.gluster.org/4130 Tested-by: Gluster Build System Reviewed-by: Kaleb KEITHLEY --- extras/ocf/Makefile.am | 2 -- 1 file changed, 2 deletions(-) (limited to 'extras/ocf') diff --git a/extras/ocf/Makefile.am b/extras/ocf/Makefile.am index 2d7410099e0..c49a835fbca 100644 --- a/extras/ocf/Makefile.am +++ b/extras/ocf/Makefile.am @@ -1,6 +1,5 @@ EXTRA_DIST = glusterd.in volume.in -if WITH_OCF # The root of the OCF resource agent hierarchy # Per the OCF standard, it's always "lib", # not "lib64" (even on 64-bit platforms). @@ -10,4 +9,3 @@ ocfdir = $(prefix)/lib/ocf radir = $(ocfdir)/resource.d/$(PACKAGE_NAME) ra_SCRIPTS = glusterd volume -endif -- cgit