Bug#365349: Add support for creating a "debuginfo" package
On Wed, Jul 15, 2009 at 11:31:49PM -0600, John Wright wrote:
> On Wed, Jul 15, 2009 at 08:36:27PM +0200, Bastian Blank wrote:
> > On Wed, Jul 15, 2009 at 10:45:23AM -0600, John Wright wrote:
> > > + +$(MAKE_CLEAN) -C $(DIR) modules_install INSTALL_MOD_PATH='$(CURDIR)'/$(PACKAGE_DIR) INSTALL_MOD_STRIP=1
> > > + +$(MAKE_CLEAN) -C $(DIR) modules_install INSTALL_MOD_PATH='$(CURDIR)'/$(DEBUG_DIR)
> >
> > How about only installing debugging infos in the debugging package?
>
> THis would be ideal. Current tools like "crash" don't work with an
> image that's been stripped with "--only-keep-debug". I'm not sure what
> strip is removing that crash needs, but I'll look into it.
This will not work on x86 because the bootable image is no elf file.
> Stripping the modules themselves with "--only-keep-debug" seems to work
> with crash, but then it saves only a marginal amount of space (from 963
> MB down to 926 MB on a 2.6.29 kernel).
Äh. What is the size of the resulting packages?
Bastianä
--
The sooner our happiness together begins, the longer it will last.
-- Miramanee, "The Paradise Syndrome", stardate 4842.6
Reply to: