Skip to contentSkip to conversation

What is the purpose of /usr/lib/.build-id?

DISCUSSION Peter Kjellerstedt 2 participants 2 messages Mar 19, 2017

lore
Share & tools
lore
#0 lore raw

I have recently noticed the directory /usr/lib/.build-id in the RPM packages generated by master of OE-core. It contains hashed links to the binaries in the package.

What is it used for?
Can it be removed?

//Peter

#1 lore raw
Quoted 5 lines · Peter Kjellerstedt

I have recently noticed the directory /usr/lib/.build-id in the RPM packages generated by master of OE-core. It contains hashed links to the binaries in the package.

What is it used for?

I believe it could be due to switching the versions of rpm in OE-Core, this is a unique build signature, which can be used by various tools to tie a rpm back into a build. Its handy when you are debugging field problems.

Quoted 1 line

Can it be removed?

Yes.