This avoids tracebacks from bitbake if the directory doesn't already exist.
[YOCTO #3640] Signed-off-by: Richard Purdie <[email protected]> --- diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index 0ffa52d..8ca0b68 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass @@ -571,6 +571,7 @@ def check_sanity(sanity_data): messages = messages + "Error, TMPDIR has changed location. You need to either move it back to %s or rebuild\n" % saved_tmpdir else: f = file(checkfile, "w") + bb.utils.mkdirhier(tmpdir) f.write(tmpdir) f.close() _______________________________________________ Openembedded-core mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
