summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2017-04-04 17:14:06 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-04-05 09:40:41 +0100
commitc03de901213846d7c8cc2a12a97034273aa904c3 (patch)
tree6f85323353850704a4b861740d20477a11329504
parent760ab75be6b794fdcd0b1717439fcea605db9e0b (diff)
downloadopenembedded-core-c03de901213846d7c8cc2a12a97034273aa904c3.tar.gz
openembedded-core-c03de901213846d7c8cc2a12a97034273aa904c3.tar.bz2
openembedded-core-c03de901213846d7c8cc2a12a97034273aa904c3.zip
sanity: explain where TMPDIR is if we're telling the user to delete it
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/sanity.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index 94c78b573f..e8064ac483 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -589,7 +589,7 @@ def sanity_handle_abichanges(status, d):
with open(abifile, "w") as f:
f.write(current_abi)
elif int(abi) <= 11 and current_abi == "12":
- status.addresult("The layout of TMPDIR changed for Recipe Specific Sysroots.\nConversion doesn't make sense and this change will rebuild everything so please start with a clean TMPDIR.\n")
+ status.addresult("The layout of TMPDIR changed for Recipe Specific Sysroots.\nConversion doesn't make sense and this change will rebuild everything so please delete TMPDIR (%s).\n" % d.getVar("TMPDIR"))
elif (abi != current_abi):
# Code to convert from one ABI to another could go here if possible.
status.addresult("Error, TMPDIR has changed its layout version number (%s to %s) and you need to either rebuild, revert or adjust it at your own risk.\n" % (abi, current_abi))