Bug#609068: Create a debug package for multipath-tools

Serge Hallyn serge.hallyn at canonical.com
Wed Jan 5 23:09:28 UTC 2011


Package: multipath-tools
Version: 0.4.9-1

Below is a debdiff from Craig Magina applied to the Debian
experimental multipath-tools branch to create a debug
package for multipath-tools.

https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/697690

=== modified file 'debian/changelog'
--- debian/changelog	2010-09-01 15:10:26 +0000
+++ debian/changelog	2011-01-05 22:54:59 +0000
@@ -1,3 +1,11 @@
+multipath-tools (0.4.9-1dbg) experimental; urgency=low
+
+  * debian/control: Added a dbg package section.
+  * debian/rules: Changed dh_strip to add unstripped binaries to the dbg
+    package.
+
+ -- Craig Magina <craig.magina at ubuntu.com>  Tue, 04 Jan 2011 18:05:32 -0500
+
 multipath-tools (0.4.9-1) experimental; urgency=low
 
   * New upstream version 0.4.9 (Closes: #587315, #595127)

=== modified file 'debian/control'
--- debian/control	2010-09-01 15:10:26 +0000
+++ debian/control	2011-01-05 22:52:51 +0000
@@ -58,3 +58,12 @@
  These tools are in charge of maintaining the disk multipath device maps and
  react to path and map events.
 
+Package: multipath-tools-dbg
+Section: debug
+Priority: extra
+Architecture: any
+Depends: ${misc:Depends}, multipath-tools (= ${binary:Version}), kpartx (= ${binary:Version})
+Description: debugging symbols for multipath-tools and kpartx
+ This package contains debugging files used to investigate problems with
+ binaries included in the multipath-tools and kpartx packages.
+

=== modified file 'debian/rules'
--- debian/rules	2010-09-01 15:10:26 +0000
+++ debian/rules	2011-01-05 22:52:51 +0000
@@ -75,7 +75,7 @@
 	dh_installman
 	dh_makeshlibs --add-udeb=multipath-udeb
 	dh_link
-	dh_strip
+	dh_strip --dbg-package=multipath-tools-dbg
 	dh_compress
 	dh_fixperms
 	dh_installdeb






More information about the pkg-lvm-maintainers mailing list