[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, 28 Jul 2006 19:03:10 +0200, Mike Hommey <mh@glandium.org>
wrote:
>On Fri, Jul 28, 2006 at 06:23:46PM +0200, Marc Haber <mh+debian-devel@zugschlus.de> wrote:
>> 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.

Actually 3, I fear. One for the -heavy daemon, one for the -light
daemon, and one for the other binary packages.

>And use the -p option to
>dh_strip in addition to --dpkg-package.

Having 3 dh_strip calls?

Greetings
Marc

-- 
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber         |   " Questions are the         | Mailadresse im Header
Mannheim, Germany  |     Beginning of Wisdom "     | http://www.zugschlus.de/
Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 621 72739834



Reply to: