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:
parent
9f20f5e29f
commit
c88832587d
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue