Bug 11718

Summary: RPM injects /usr/lib/.build-id/ into packages
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Ross Burton <ross.burton>
Component: deploymentAssignee: Alexander Kanavin <alex.kanavin>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: juro.bystricky, randy.macleod
Version: 2.4   
Target Milestone: 2.4 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Ross Burton 2017-06-26 09:44:02 UTC
RPM injects /usr/lib/.build-id/[hash] files into pacakges as part of Fedora's debuginfo approach.  As we don't use these, I think we should make this behaviour conditional and disable it.
Comment 1 Juro Bystricky 2017-06-29 15:53:42 UTC
The .build-id is a unique value, so I believe it would break binary reproducibility. I would either remove it altogether or enable conditionally based on (hopefully coming in near future) variable BUILD_REPRODUCIBLE_BINARIES.
Comment 3 Ross Burton 2017-07-25 15:05:49 UTC
Merged in OE-Core 1bd3ed18379c330c1c733dc9f043dbbe8aa0d254.