[packagekit] pk-debuginfo-install and hashes

Patryk Zawadzki patrys at pld-linux.org
Tue Dec 8 03:58:10 PST 2009


On Tue, Dec 8, 2009 at 11:53 AM, Richard Hughes <hughsient at gmail.com> wrote:
> 2009/12/8 Patryk Zawadzki <patrys at pld-linux.org>:
>> Recent gcc versions have the nice feature of signing builds with a unique hash.
>> I think it would be nice if pk-debuginfo-install allowed automatic
>> installation when given just this hash. It should be as easy as
>> finding a package that provides
>> "/usr/lib/debug/.build-id/01/23456...". Is it easily doable or would
>> it require some architectural changes (I know it could be expensive in
>> yum case as AFAIK it does not download file indexes by default)?
> It's pretty easily doable. If yum has to download an additional
> metadata file then so-be-it. Is the path /usr/lib/debug/.build-id/
> standardized on all distros?

At least in Fedora and PLD. Unless other distros choose to willfully
break the compatibility it should be considered a standard. (I did not
check other distros as Google suggests not a lot of them make use of
the build-id feature).

-- 
Patryk Zawadzki



More information about the PackageKit mailing list