[1/2] sanity.bbclass: move check_path_length(TMPDIR) to check_sanity_everybuild
Submitted by Robert Yang on Nov. 1, 2013, 5:26 p.m.
Patch ID: 60953
@@ -569,9 +569,6 @@ def check_sanity_version_change(status, d):
if not oes_bb_conf:
status.addresult('You are not using the OpenEmbedded version of conf/bitbake.conf. This means your environment is misconfigured, in particular check BBPATH.\n')
- # The length of tmpdir can't be longer than 410
- status.addresult(check_path_length(tmpdir, "TMPDIR", 410))
def check_sanity_everybuild(status, d):
# Sanity tests which test the users environment so need to run at each build (or are so cheap
# it makes sense to always run them.
@@ -672,6 +669,9 @@ def check_sanity_everybuild(status, d):
with open(checkfile, "w") as f:
+ # The length of TMPDIR can't be longer than 410
+ status.addresult(check_path_length(tmpdir, "TMPDIR", 410))