[Kimchi-devel] [PATCH 2/2] Add Kimchi sosreport plugin to deb packages

Rodrigo Trujillo rodrigo.trujillo at linux.vnet.ibm.com
Thu Oct 30 16:44:45 UTC 2014


This patch adds kimchi.py (SOSREPORT plugin) to right location when
creating a deb package.

Signed-off-by: Rodrigo Trujillo <rodrigo.trujillo at linux.vnet.ibm.com>
---
 Makefile.am | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Makefile.am b/Makefile.am
index ec88787..0740438 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -70,10 +70,13 @@ install-deb: install
 	cp -R $(top_srcdir)/contrib/DEBIAN $(DESTDIR)/
 	$(MKDIR_P) $(DESTDIR)/etc/init
 	$(MKDIR_P) $(DESTDIR)/usr/lib/firewalld/services
+	$(MKDIR_P) $(DESTDIR)/usr/share/sosreport/sos/plugins
 	cp -R $(top_srcdir)/contrib/kimchid-upstart.conf.debian \
 		$(DESTDIR)/etc/init/kimchid.conf
 	cp -R $(top_srcdir)/src/firewalld.xml \
 		$(DESTDIR)/usr/lib/firewalld/services/kimchid.xml
+	cp -R $(top_srcdir)/src/kimchi/sos.py \
+		$(DESTDIR)/usr/share/sosreport/sos/plugins/kimchi.py
 
 
 deb: contrib/make-deb.sh
-- 
1.9.3




More information about the Kimchi-devel mailing list