Mailinglist Archive: opensuse-features (226 mails)

< Previous Next >
[openFATE 305561] Install Debuginfo Package by build-id
  • From: fate_noreply@xxxxxxx
  • Date: Tue, 17 Feb 2009 16:15:36 +0100 (CET)
  • Message-id: <feature-305561-7@xxxxxxxxxxxxxx>
Feature changed by: Andreas Gruenbacher (agruen)
Feature #305561, revision 7
Title: Install Debuginfo Package by build-id

openSUSE-11.2: Candidate
Priority
Requester: Mandatory
Projectmanager: Important

Requested by: Jan Blunck (janblunck)
Developer: Jan Blunck (jblunck)

Description:
Since SLE11 we embed build-ids into all binaries. This build-id can be
used to match the corresponding debuginfo to a binary file, a running
process or a core file. To make it easy for user to install the correct
debuginfo, he should be able to run the following command to get the
correct debuginfo package installed:
zypper install debuginfo-build-id-
eb49eeaf82eff32cfbf44d94f9aa8e3cdcf0e461

Discussion:
#1: Stephan Kulow (coolo) (2009-02-17 11:17:46)
Not sure why agruen is set as engmgr, this is simply some rpm hackery.
Put a debuginfo.prov script in place, that checks the file list given
and give it all /usr/lib/debug/.build-id files.
And it will transform /usr/lib/debug/.build-
id/00/d9cff1044033b4781ab47388b422b07cb72708.debug into debuginfo
(d9cff1044033b4781ab47388b422b07cb72708).
After that you can use zypper install -C "debuginfo
(d9cff1044033b4781ab47388b422b07cb72708)" and you get kdepim4-debuginfo
installed (11.1-x86_64 example).
This is an effort of half an hour without testing.

+ #2: Andreas Gruenbacher (agruen) (2009-02-17 16:15:18) (reply to #1)
+ This should work, and the debug info repository metadata should still
+ remain reasonably small.



--
openSUSE Feature:
https://features.opensuse.org/305561

< Previous Next >