Half way through Outreachy @ The Yocto Project

So on this week’s episode of my journey as an Outreachy intern – Modifying Expectations...

Posted by Dorinda Bassey on January 18, 2021

Half way through Outreachy @ The Yocto Project

So on this week’s episode of my journey as an Outreachy intern – Modifying Expectations, working on my task “add support for elfutils debuginfod to The Yocto Project” has been great. However, I am tempted to drop a bunch of code and just explain what it does but I must refrain from such lacadaisical attitude which might have stem from lack of what to write my audience.

So far on my internship, I’ve been able to accomplish more than half of my project task with great support from my mentor Ross, but during the first half of my internship, a particular task actually took longer than expected to achieve;

After I had added a patch to enable debuginfod for elfutils recipe in The Yocto Project, once the debuginfod was enabled the build needed some extra dependencies (libmicrohttpd, curl, sqlite3, libarchive) to run debuginfod which was initially disabled by default. Next step I took on my project was to add support for ipkg to the debuginfod scanner, however debuginfod scanner 0.181 only supported scanning .rpm and .deb files, but as ipkgs are binary-compatible with dpkg it was easy to add support for debuginfod scanner to scan .ipk files. Now I was expected to verify that running debuginfod manually over $DEPLOY_DIR and setting DEBUGINFOD_URLS works, this task in particular has been challenging, such that I haven’t been able to download the symbols from my local server, although the server has been implemented.

well, i believe that in due time with help from my mentor, this problem should be solved, then i can forge ahead with Determining the final integration which is Straw man proposal: a class that turns on debuginfod for elfutils and sets DEBUGINFOD_URLS in the image, and a script that runs the elfutils-native debuginfod on DEPLOY_DIR.

In regards to my internship dates, I don’t think my goals for this project need to be modified as I believe I would finish my internship task in due time, also through out my internship, i’ve had time to look into the Yocto Project and make some contributions, though I haven’t submitted any yet. Hopefully It should be done this week.