Hash Equivalence Server
Jump to navigation
Jump to 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:
- Start a new bitbake shell. This should drop you in your build directory
- Start the server by running
bitbake-hashserv -b unix://./hashserv.sock -l DEBUG -d cache/hashserv.db
. Note if you changePERSISTENT_DIR
orCACHE
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. - Modify local.conf and add the line:
BB_HASHSERVE = "unix://${TOPDIR}/hashserv.sock"
- Run your build as normal in a different bitbake shell. You should see useful logging information in the hashserver output