diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-11-16 15:35:53 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-11-20 15:31:49 +0000 |
commit | f93f43cbb37c06608ffabcb9a5ce2244d7196e22 (patch) | |
tree | 7ec07321409121cc2b903f4fba458a8b0a7a27c8 /meta/classes/sanity.bbclass | |
parent | 265f69a593cdf70e40bcbe6383b865dac3632f55 (diff) | |
download | poky-f93f43cbb37c06608ffabcb9a5ce2244d7196e22.tar.gz |
bitbake.conf/sanity: Separate versions and PN stamp components into separate directories for WORKDIR and STAMP
This means some of the hacks we have to tell where the package name ends and
the version starts in the directory layout becomes obsolete, simplifying the
work of some of the cleanup scripts. It also makes the layout slightly more
intuitive to the user.
It does force a rebuild onto the user but it will reuse sstate successfully.
(From OE-Core rev: 05075cf3138d1c61f5cf4fe0e1a4587acc00c692)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/sanity.bbclass')
-rw-r--r-- | meta/classes/sanity.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index 3806bc5ce7..5b4f070ec4 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass | |||
@@ -605,6 +605,8 @@ def check_sanity(sanity_data): | |||
605 | f.write(current_abi) | 605 | f.write(current_abi) |
606 | elif abi == "7" and current_abi == "8": | 606 | elif abi == "7" and current_abi == "8": |
607 | 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" | 607 | 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" |
608 | elif (abi != current_abi and current_abi == "9"): | ||
609 | messages = messages + "The layout of the TMPDIR STAMPS directory has changed. Please clean out TMPDIR and rebuild (sstate will be still be valid and reused)\n" | ||
608 | elif (abi != current_abi): | 610 | elif (abi != current_abi): |
609 | # Code to convert from one ABI to another could go here if possible. | 611 | # Code to convert from one ABI to another could go here if possible. |
610 | 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) | 612 | 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) |