Hash Equivalence Server

From Openembedded.org
Revision as of 20:20, 30 November 2023 by JPEWhacker (talk | contribs) (Hash Equivalence Server Debugging Tips)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Running a Local Hash Equivalence Server for debugging

If you are having trouble with the automatically started hash equivalence server and need to run it manually for debugging, use the following steps:

  1. Start a new bitbake shell. This should drop you in your build directory
  2. Start the server by running bitbake-hashserv -b unix://./hashserv.sock -l DEBUG -d cache/hashserv.db. Note if you change PERSISTENT_DIR or CACHE variable in local.conf, your database file may live in a different location and you'll need to modify the above command to point your database file.
  3. Modify local.conf and add the line: BB_HASHSERVE = "unix://${TOPDIR}/hashserv.sock"
  4. Run your build as normal in a different bitbake shell. You should see useful logging information in the hashserver output