Skip to content

RFC package: Extract GNU build ID during packaging

Philip Lorenz openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 RFC Latest3 patches 1 replyIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3oe-pkgdata-util: Add read-extended commandmeta/lib/oeqa/selftest/cases/pkgdata.py scripts/oe-pkgdata-util+52 -00 replies
2/3package: Expose list of split out debug filesmeta/classes-global/package.bbclass meta/lib/oe/package.py+14 -90 replies
3/3packagedata: Extract GNU build ID during pkgdata creationmeta/lib/oe/packagedata.py meta/lib/oeqa/selftest/cases/pkgdata.py+27 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [RFC PATCH v2 0/3] package: Extract GNU build ID during packaging

This is the follow up to "package.bbclass: Expose list of split out debug files" adding the extraction of the build IDs directly into the do_package task.

Build IDs are stored inside the "extended" section of the pkgdata and to enable easier testing the "read-extended" command is added to "oe-pkgdata-util".

Sequentially reading the build ID from ~8000 debug symbol files takes approximately 90 seconds on my machine, and given that extraction parallelises well, I deemed those figures low enough to enable this feature by default without a configuration switch. Let me know if this doesn't match your expectations.

Philip Lorenz (3):
oe-pkgdata-util: Add read-extended command
package: Expose list of split out debug files
packagedata: Extract GNU build ID during pkgdata creation

 meta/classes-global/package.bbclass     |  4 +++
 meta/lib/oe/package.py                  | 19 ++++++-------
 meta/lib/oe/packagedata.py              | 25 +++++++++++++++++
 meta/lib/oeqa/selftest/cases/pkgdata.py | 18 +++++++++++++
 scripts/oe-pkgdata-util                 | 36 +++++++++++++++++++++++++
 5 files changed, 93 insertions(+), 9 deletions(-)
Signature · 1 line
2.44.0