sbuild: extract debug symbols from -dbgsym packages

Once binary packages are uploaded, we now look for a matching -dbgsym counterpart and pull out the .debug files from under ./usr/lib/debug/.build-id/. The build-id is taken straight from the path (2-char prefix dir + 38-char filename) so we don't need pyelftools or anything extra. Extracted files get wrapped into a DebugSymbols artifact, uploaded, and linked back to their BinaryPackage via a RELATES_TO relation.

Related #957 (closed)

Edited by Jugal Patel

Merge request reports

Loading