-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extract *-dbginfo subpackages to debuginfod folder #25
Comments
I have set it up temporarily and it's ready to test. I can confirm by symbols existing and the download logs from the server that it's pulling the debug files. Test procedure:
|
With an added note, we'll need to set up a system to keep the debug symbol files cleaned up when packages are removed from the repository. My first though: Ferryd does the extraction of the debug files into the folder:
During this process it notes down all the *.debug files and assigns them to a package, it could be just a text file in the same directory that is called nano-5-1-dbginfo.eopkg and lists a.debug b.debug etc, or an sqlite database with fields of pkg and debugfiles and debugfiles is just a list of the filenames. Then whatever tool is used to trim the repository of excess files also jumps into the debug symbols directory, and if xyz-dbginfo package is removed, it checks for a xyz-dbginfo file there, removes the filenames listed in it and then the file itself. |
For any new packages matching the -dbginfo.eopkg glob unzip and extract the
.debug
files to a configurable debuginfod folder.When a debuginfod service is running this should be enough to get that working.
The text was updated successfully, but these errors were encountered: