'Document Yocto build

I want to automate Yocto build documentation for my project.

General idea is to get a list of all repo downloads (SRC_URI and SRCREV) actually used, store it somewhere and then, at next release, do the same, compute differences and get git commit messages from old to new.

I have several problems implementing this.

  • I tried using the produced .manifest but that dos not contain repo/hash info.
  • I tried looking into the work directories (pointed by .manifest); with a bit of massaging this can be done. Unfortunately not all packages have a git subdir (actually very few have it).
  • I am thus unsure about where I can find the info I need.

Question is: Is there a way to build a complete list of repositories/hashes used for a build?

If in the process I can also collect git logs that would be much better, but I can do that offline.

I am unsure if this question meets the StackOverflow standards; I am fully willing to enhance it as needed. Please ask in comments.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source