[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: What does dh_strip --dbg-package do if two binary packages contain the same file?



On Fri, Jul 28, 2006 at 06:23:46PM +0200, Marc Haber <mh+debian-devel@zugschlus.de> wrote:
> Hi,
> 
> I would like to add a -dbg package to exim4. However, I doubt that
> dh_strip is doing the right thing here.
> 
> The Debian exim4 source package builds a number of binary packages.
> Two of them are exim4-daemon-light and exim4-daemon-heavy, both of
> with containing (different!) versions of /usr/sbin/exim4.
> 
> In the -dbg package created by dh_strip, I only have a single file
> /usr/lib/debug/usr/sbin/exim4. Which debug information does this
> contain? Does it contain debug information for both versions of the
> binary? How do I find out which binary the debug information contained
> inside belongs to?

You will need to create 2 -dbg packages. And use the -p option to
dh_strip in addition to --dpkg-package.

Mike



Reply to: