[pve-devel] [PATCH 1/2] add dbg package / disable strip for qemu

Stefan Priebe s.priebe at profihost.ag
Wed Apr 1 11:24:51 CEST 2015


From: spriebe <git at profihost.ag>


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

diff --git a/debian/control b/debian/control
index 0a2e776..4ca1687 100644
--- a/debian/control
+++ b/debian/control
@@ -14,3 +14,9 @@ Description: Full virtualization on x86 hardware
  Using KVM, one can run multiple virtual PCs, each running unmodified Linux or
  Windows images. Each virtual machine has private virtualized hardware: a
  network card, disk, graphics adapter, etc. 
+
+Package: pve-qemu-kvm-dbg
+Architecture: any
+Depends: pve-qemu-kvm
+Description: pve qemu debugging symbols
+
diff --git a/debian/rules b/debian/rules
index 703e848..2bf49eb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -33,7 +33,7 @@ endif
 config.status: configure
 	dh_testdir
 	# Add here commands to configure the package.
-	./configure --with-confsuffix="/kvm" --target-list=x86_64-softmmu --prefix=/usr --datadir=/usr/share --docdir=/usr/share/doc/pve-qemu-kvm --sysconfdir=/etc --disable-xen --enable-vnc-tls --enable-sdl --enable-uuid --enable-linux-aio --enable-rbd --enable-libiscsi --disable-smartcard-nss --audio-drv-list="alsa" --enable-spice --enable-usb-redir --enable-glusterfs --enable-libusb --disable-gtk --enable-xfsctl --enable-numa
+	./configure --with-confsuffix="/kvm" --target-list=x86_64-softmmu --prefix=/usr --datadir=/usr/share --docdir=/usr/share/doc/pve-qemu-kvm --sysconfdir=/etc --disable-xen --enable-vnc-tls --enable-sdl --enable-uuid --enable-linux-aio --enable-rbd --enable-libiscsi --disable-smartcard-nss --audio-drv-list="alsa" --enable-spice --enable-usb-redir --enable-glusterfs --enable-libusb --disable-gtk --enable-xfsctl --enable-numa --disable-strip
 
 build: patch build-stamp
 
@@ -131,7 +131,7 @@ binary-arch: build install
 #	dh_installinfo
 	dh_installman
 	dh_link
-	dh_strip
+	dh_strip --dbg-package=pve-qemu-kvm-dbg
 	dh_compress
 	dh_fixperms
 #	dh_perl
-- 
1.7.10.4




More information about the pve-devel mailing list