summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-22 22:01:52 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-22 22:04:50 +0000
commitbf440fd971dd549ae4e92c54046ea062ef51cd85 (patch)
tree16d29acd1663a4cc3a90a3498893de3d4f524dc9 /meta
parentd4ffe12ca36bf10be4e0f9565d7c3d8e6f4a265a (diff)
downloadopenembedded-core-bf440fd971dd549ae4e92c54046ea062ef51cd85.tar.gz
sanity.bbclass: Add ABI version 8, used for transition from the OEBasic to OEBasicHash stamp layout
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/sanity.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index a02942875a..d8835dae64 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -431,6 +431,8 @@ def check_sanity(e):
os.system(bb.data.expand("mv ${TMPDIR}/pstagelogs ${SSTATE_MANIFESTS}", e.data))
f = file(abifile, "w")
f.write(current_abi)
+ elif abi == "7" and current_abi == "8":
+ messages = messages + "Your configuration is using stamp files including the sstate hash but your build directory was built with stamp files that do not include this.\nTo continue, either rebuild or switch back to the OEBasic signature handler with BB_SIGNATURE_HANDLER = 'OEBasic'.\n"
elif (abi != current_abi):
# Code to convert from one ABI to another could go here if possible.
messages = messages + "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)