m-a build $${KSRC:+-k $$KSRC} $${KVERS:+-l $$KVERS} -i -u $$(pwd) lustre && \
popd && \
VER=$$(sed -ne '1s/^lustre (\(.*-[0-9][0-9]*\)).*$$/\1/p' debian/changelog) && \
+ if test "x@ENABLE_SERVER@" = "xyes"; then \
+ DEB_SERVER_PKG="../lustre-resource-agents_$${VER}_*.deb"; \
+ fi; \
mkdir -p debs && \
mv ../lustre-dev_$${VER}_*.deb ../lustre-source_$${VER}_all.deb \
../lustre-iokit_$${VER}_*.deb ../lustre-tests_$${VER}_*.deb \
- ../lustre-*-utils_$${VER}_*.deb \
+ ../lustre-*-utils_$${VER}_*.deb $${DEB_SERVER_PKG} \
../lustre_$${VER}.dsc ../lustre_$${VER}_*.changes \
../lustre_$${VER}.tar.gz ../lustre-*-modules-$${KVERS}_$${VER}_*.deb \
debs/
+lustre (2.11.55-dirty-1) unstable; urgency=low
+
+ * Automated changelog entry update
+
+ -- Brian J. Murrell <brian@interlinx.bc.ca> Thu, 13 Sep 2018 12:42:24 -0600
+
lustre (2.11.52-108-g258f0cf-dirty-1) unstable; urgency=low
* Automated changelog entry update
If you only need to access the LFS cluster, install lustre-client-utils
instead.
+Package: lustre-resource-agents
+Section: ha
+Architecture: i386 powerpc ppc64el amd64 ia64 arm64
+Priority: optional
+Depends: lustre-server-utils (= ${binary:Version}), resource-agents
+Description: HA Resuable Cluster Resource Scripts for Lustre
+ Lustre is a scalable, secure, robust, highly-available cluster file system.
+ This release is maintained by Whamcloud and available from
+ https://wiki.whamcloud.com/
+ .
+ This package provides a set of scripts to operate Lustre
+ resources in a High Availablity environment for both Pacemaker
+ and rgmanager.
+
Package: lustre-iokit
Section: utils
Architecture: i386 powerpc ppc64el amd64 ia64 arm64
If you only need to access the LFS cluster, install lustre-client-utils
instead.
+Package: lustre-resource-agents
+Section: ha
+Architecture: i386 powerpc ppc64el amd64 ia64 arm64
+Priority: optional
+Depends: lustre-server-utils (= ${binary:Version}), resource-agents
+Description: HA Resuable Cluster Resource Scripts for Lustre
+ Lustre is a scalable, secure, robust, highly-available cluster file system.
+ This release is maintained by Whamcloud and available from
+ https://wiki.whamcloud.com/
+ .
+ This package provides a set of scripts to operate Lustre
+ resources in a High Availablity environment for both Pacemaker
+ and rgmanager.
+
Package: lustre-iokit
Section: utils
Architecture: i386 powerpc ppc64el amd64 ia64 arm64
--- /dev/null
+usr/lib/ocf/resource.d/lustre
--- /dev/null
+debian/tmp/usr/lib/ocf/resource.d/lustre/* usr/lib.ocf/resource.d/lustre
ifneq (,$(findstring server,$(DEB_BUILD_PROFILES)))
UTILS_PKG=lustre-server-utils
MODS_PKG=lustre-server-modules
+ RESOURCE_PKG=lustre-resource-agents
+ RESOURCE_TARGET=binary-$(RESOURCE_PKG)
DKMS_PKG=
else
UTILS_PKG=lustre-client-utils
MODS_PKG=lustre-client-modules
+ RESOURCE_TARGET=
+ RESOURCE_PKG=
DKMS_PKG=lustre-client-modules-dkms
endif
# binary-arch: binary-$(UTILS_PKG) binary-$(TESTS_PKG) binary-$(DEV_PKG) \
# binary-$(MODS_PKG) binary-kern-mods
binary-arch: binary-$(UTILS_PKG) binary-$(DEV_PKG) \
- binary-$(IOKIT_PKG) binary-$(TESTS_PKG)
+ binary-$(IOKIT_PKG) binary-$(TESTS_PKG) \
+ $(RESOURCE_TARGET)
binary-indep: binary-$(SOURCE_PKG) $(DKMS_TARGET)
dh_md5sums -p $(UTILS_PKG)
dh_builddeb -p $(UTILS_PKG)
+binary-$(RESOURCE_PKG): build-stamp
+ dh_testdir
+ dh_testroot
+ dh_installdirs -p $(RESOURCE_PKG)
+ dh_installdocs -p $(RESOURCE_PKG)
+ dh_installman -p $(RESOURCE_PKG)
+ dh_install -p $(RESOURCE_PKG)
+ dh_makeshlibs -p $(RESOURCE_PKG)
+ dh_installexamples -p $(RESOURCE_PKG)
+ dh_installchangelogs -p $(RESOURCE_PKG) lustre/ChangeLog
+ dh_compress -p $(RESOURCE_PKG)
+ dh_strip -p $(RESOURCE_PKG)
+ dh_installdeb -p $(RESOURCE_PKG)
+ dh_fixperms -p $(RESOURCE_PKG)
+ dh_gencontrol -p $(RESOURCE_PKG)
+ dh_md5sums -p $(RESOURCE_PKG)
+ dh_builddeb -p $(RESOURCE_PKG)
+
binary-$(IOKIT_PKG): build-stamp
dh_testdir
dh_testroot
%endif
%endif
-%if %{with servers}
-mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/ocf/resource.d/lustre/
-install -m 0755 contrib/scripts/pacemaker/* $RPM_BUILD_ROOT%{_prefix}/lib/ocf/resource.d/lustre/
-%endif
-
# fc18 needs 'x' permission for library files
find $RPM_BUILD_ROOT -name \*.so -type f -exec chmod +x {} \;
EXTRA_DIST = lustre.dtd lustre2ldif.xsl top.ldif \
99-lustre.rules lustre ldev.conf ko2iblnd.conf lsvcgss \
+ Lustre healthLNET healthLUSTRE \
lnet_routes.conf lnet.conf lgssc.conf
sysconf_DATA = lnet.conf
udevrules_DATA = 99-lustre.rules
if SERVER
+pacemakerdir = $(prefix)/lib/ocf/resource.d/lustre
+pacemaker_DATA = healthLNET healthLUSTRE Lustre
if ZFS_ENABLED
sysconf_DATA += ldev.conf
endif