summaryrefslogtreecommitdiffstats
path: root/meta/classes/sanity.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/sanity.bbclass')
-rw-r--r--meta/classes/sanity.bbclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index 49eef2f418..a175a1104f 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -941,6 +941,11 @@ def check_sanity_everybuild(status, d):
941 mirror_base = urllib.parse.urlparse(mirror[:-1*len('/PATH')]).path 941 mirror_base = urllib.parse.urlparse(mirror[:-1*len('/PATH')]).path
942 check_symlink(mirror_base, d) 942 check_symlink(mirror_base, d)
943 943
944 # Check sstate mirrors aren't being used with a local hash server and no remote
945 hashserv = d.getVar("BB_HASHSERVE")
946 if d.getVar("SSTATE_MIRRORS") and hashserv and hashserv.startswith("unix://") and not d.getVar("BB_HASHSERVE_UPSTREAM"):
947 bb.warn("You are using a local hash equivalence server but have configured an sstate mirror. This will likely mean no sstate will match from the mirror. You may wish to disable the hash equivalence use (BB_HASHSERVE), or use a hash equivalence server alongside the sstate mirror.")
948
944 # Check that TMPDIR hasn't changed location since the last time we were run 949 # Check that TMPDIR hasn't changed location since the last time we were run
945 tmpdir = d.getVar('TMPDIR') 950 tmpdir = d.getVar('TMPDIR')
946 checkfile = os.path.join(tmpdir, "saved_tmpdir") 951 checkfile = os.path.join(tmpdir, "saved_tmpdir")