Package: kvm
Version: 79+dfsg-2
Severity: wishlist
Tags: patch

Hi, given that kvm is still undergoing rapid development, I often find
myself debugging various issues, and it is useful to have debugging
symbols for the userspace component available, if only to report sane
backtraces upstream.

I've been building my own packages with the patch below applied; I
think it would be broadly useful to apply something like this to the
standard Debian packaging.

Thanks.


diff --git a/debian/control b/debian/control
index 69c4c3b..cbfa599 100644
--- a/debian/control
+++ b/debian/control
@@ -68,3 +68,9 @@ Description: Source for the KVM driver
  The kvm package is also required in order to make use of these
  modules. Kernel source or headers are required to compile these modules.
 
+Package: kvm-dbg
+Architecture: all
+Depends: kvm (= ${binary:Version})
+Description: Debugging info for kvm
+ This package contains the debugging symbols for kvm.
+
diff --git a/debian/rules b/debian/rules
index 69f0d44..7550f8a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -308,7 +308,7 @@ binary-arch: build-arch install
        dh_installman -s debian/kvm.1
 #      dh_installinfo -s
        dh_installchangelogs -s debian/changelog.upstream
-       dh_strip -s
+       dh_strip -s --dbg-package=kvm-dbg
        dh_link -s
        dh_compress -s
        dh_fixperms -s



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to