diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/sanity.bbclass | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index 5be5efb8a4..2f75558104 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass | |||
@@ -519,6 +519,16 @@ def sanity_handle_abichanges(status, d): | |||
519 | status.addresult("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") | 519 | status.addresult("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") |
520 | elif (abi != current_abi and current_abi == "9"): | 520 | elif (abi != current_abi and current_abi == "9"): |
521 | status.addresult("The layout of the TMPDIR STAMPS directory has changed. Please clean out TMPDIR and rebuild (sstate will be still be valid and reused)\n") | 521 | status.addresult("The layout of the TMPDIR STAMPS directory has changed. Please clean out TMPDIR and rebuild (sstate will be still be valid and reused)\n") |
522 | elif (abi != current_abi and current_abi == "10" and (abi == "8" or abi == "9")): | ||
523 | bb.note("Converting staging layout from version 8/9 to layout version 10") | ||
524 | cmd = d.expand("grep -r -l sysroot-providers/virtual_kernel ${SSTATE_MANIFESTS}") | ||
525 | ret, result = oe.utils.getstatusoutput(cmd) | ||
526 | result = result.split() | ||
527 | for f in result: | ||
528 | bb.note("Uninstalling manifest file %s" % f) | ||
529 | sstate_clean_manifest(f, d) | ||
530 | with open(abifile, "w") as f: | ||
531 | f.write(current_abi) | ||
522 | elif (abi != current_abi): | 532 | elif (abi != current_abi): |
523 | # Code to convert from one ABI to another could go here if possible. | 533 | # Code to convert from one ABI to another could go here if possible. |
524 | 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)) | 534 | 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)) |