sanity.bbclass: Use SSTATE_MANIFESTS instead of hard coding sstate-control

This helps when SSTATE_MANIFESTS is overridden by external layers

(From OE-Core rev: 246cbbb076ea91eccbc373bd277684f69a8ab4dc)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj 2011-03-31 19:57:43 -07:00 committed by Richard Purdie
parent 9f20f5e29f
commit c88832587d
1 changed files with 1 additions and 1 deletions

View File

@ -321,7 +321,7 @@ def check_sanity(e):
messages = messages + "Staging layout has changed. The cross directory has been deprecated and cross packages are now built under the native sysroot.\nThis requires a rebuild.\n"
elif abi == "5" and current_abi == "6":
bb.note("Converting staging layout from version 5 to layout version 6")
os.system(bb.data.expand("mv ${TMPDIR}/pstagelogs ${TMPDIR}/sstate-control", e.data))
os.system(bb.data.expand("mv ${TMPDIR}/pstagelogs ${SSTATE_MANIFESTS}", e.data))
f = file(abifile, "w")
f.write(current_abi)
elif (abi != current_abi):