packaging: Bundle debug_locks.sh script in RPM
authorAmitay Isaacs <amitay@gmail.com>
Tue, 16 Jul 2013 02:53:16 +0000 (12:53 +1000)
committerAmitay Isaacs <amitay@gmail.com>
Tue, 16 Jul 2013 02:59:50 +0000 (12:59 +1000)
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
(This used to be ctdb commit 5740155cc5de1a223412e8529aa1a383a5412514)

ctdb/Makefile.in
ctdb/packaging/RPM/ctdb.spec.in

index 1cc437cbb6c0fcef5389356ddc2640027cfe79fd..620ed845cd1db9ad1b51e9da76bbab9dbfe9c70a 100755 (executable)
@@ -393,6 +393,7 @@ install: all manpages $(PMDA_INSTALL)
        ${INSTALLCMD} -m 755 config/debug-hung-script.sh $(DESTDIR)$(etcdir)/ctdb
        ${INSTALLCMD} -m 755 config/ctdb-crash-cleanup.sh $(DESTDIR)$(etcdir)/ctdb
        ${INSTALLCMD} -m 755 config/gcore_trace.sh $(DESTDIR)$(etcdir)/ctdb
+       ${INSTALLCMD} -m 755 config/debug_locks.sh $(DESTDIR)$(etcdir)/ctdb
 
 install_pmda:
        $(INSTALLCMD) -m 755 -d $(DESTDIR)$(PMDA_DEST_DIR)
index b87ba0b0ad38fc16c07d57318922f1040f924994..62fc65fe417f11b489d567b183948b75e3455650 100644 (file)
@@ -149,6 +149,7 @@ rm -rf $RPM_BUILD_ROOT
 %config(noreplace) %{_sysconfdir}/ctdb/debug-hung-script.sh
 %config(noreplace) %{_sysconfdir}/ctdb/ctdb-crash-cleanup.sh
 %config(noreplace) %{_sysconfdir}/ctdb/gcore_trace.sh
+%config(noreplace) %{_sysconfdir}/ctdb/debug_locks.sh
 
 %if %{with_systemd}
 %{_unitdir}/ctdb.service