Add 'BB_HASHSERVE_DB_DIR' to environment variables - #185
Open
ArtemMartus wants to merge 1 commit into
Open
Conversation
Kas allows SSTATE_DIR to be set via an environment variable, but the latest oe-core will now warn if hashequiv has been enabled[1], the sstate is outside the build tree, but the hashequiv database is inside the build tree. This is because the hashequiv data is needed to make full use of the sstate objects. The solution here is to also set the hashserver database location, but this can't be done in the same way as SSTATE_DIR as we can't set it as an environment variable. Add BB_HASHSERVE_DB_DIR to the list of variables that can be set in the environment so that callers can set them both if needed.
Member
|
The ML thread somehow slipped through (I gave some feedback but did not receive a v2). I'll add the missing part and re-send it. |
Collaborator
|
For reference: https://groups.google.com/g/kas-devel/c/4qTEgLffL3M |
jan-kiszka
force-pushed
the
next
branch
10 times, most recently
from
August 21, 2026 21:15
e31ee61 to
263f3a3
Compare
jan-kiszka
force-pushed
the
next
branch
16 times, most recently
from
August 23, 2026 09:09
32a6835 to
6dc1639
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
[PATCH] kas: add BB_HASHSERVE_DB_DIR to allowed environment variables
Kas allows SSTATE_DIR to be set via an environment variable, but the latest oe-core will now warn if hashequiv has been enabled[1], the sstate is outside the build tree, but the hashequiv database is inside the build tree. This is because the hashequiv data is needed to make full use of the sstate objects.
The solution here is to also set the hashserver database location, but this can't be done in the same way as SSTATE_DIR as we can't set it as an environment variable. Add BB_HASHSERVE_DB_DIR to the list of variables that can be set in the environment so that callers can set them both if needed.