dbx is able to manage separate debug information:
The attached patch modify rpmbuild to automatically generated "-debuginfo" sub-packages for each existing sub-package which hold elf files. It walk all the provided files, and if some is recognized via the "file" command as an elf file, strip the debug symbols and place them in a separate file, placed under /usr/lib/debug.
The debug symbol file name comprise the original file name and the the md5 checksum of the original file, to avoid aliasing issue. The debuginfo generation is performed only for svr4 packages
The patch is against pkgbuild version 1.3.101
Log in to post a comment.