[pve-devel] [PATCH] enable debug package for pve-cluster

Stefan Priebe s.priebe at profihost.ag
Mon Feb 9 15:05:50 CET 2015


Signed-off-by: Stefan Priebe <s.priebe at profihost.ag>
---
 debian/control |    5 +++++
 debian/rules   |    6 ++++++
 2 files changed, 11 insertions(+)

diff --git a/debian/control b/debian/control
index b4375a6..1be793a 100644
--- a/debian/control
+++ b/debian/control
@@ -12,3 +12,8 @@ Description: Cluster Infrastructure for Proxmox Virtual Environment
  This package contains the Cluster Infrastructure for the Proxmox
  Virtual Environment, namely a distributed filesystem to store
  configuration data on all nodes.
+
+Package: pve-cluster-dbg
+Architecture: any
+Description: debug Cluster Infrastructure for Proxmox Virtual Environment
+
diff --git a/debian/rules b/debian/rules
index a433c17..8cae8e7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,6 +12,8 @@ BUILDROOT := $(shell pwd)
 %:
 	dh $@
 
+override_dh_strip:
+	dh_strip --dbg-package=pve-cluster-dbg
 
 override_dh_auto_configure:
 
@@ -19,6 +21,10 @@ override_dh_auto_configure:
 
 	./configure --prefix=/usr
 
+override_dh_auto_install:
+
+	make -j1 install DESTDIR=../debian/pve-cluster
+
 override_dh_install:
 
 	dh_install
-- 
1.7.10.4




More information about the pve-devel mailing list