1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-04-20 11:29:54 +00:00

CI: allow hashserver to be specified in environment

If the sstate is being mounted into the container then the hashserver
also needs to be shared, and not stored inside the build tree. Mark
BB_HASHSERVE as being set via an environment variable so the GitLab
runner environment can set the correct location.

This fixes a long-standing problem causing substandard reuse, which now
is detected and causes a warning in oe-core[1].

[1] oe-core 491de0db64a ("sanity.bbclass: warn when sstate is outside of
    build dir, but hash equiv database is inside it")

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
Ross Burton
2026-03-13 13:21:00 +00:00
committed by Jon Mason
parent 2f6824ddca
commit df572b4d53

View File

@@ -33,6 +33,7 @@ repos:
env:
BB_LOGCONFIG: ""
BB_HASHSERVE: "auto"
local_conf_header:
base: |