]> code.ossystems Code Review - openembedded-core.git/commitdiff
sanity.bbclass: Use SSTATE_MANIFESTS instead of hard coding sstate-control
authorKhem Raj <raj.khem@gmail.com>
Fri, 1 Apr 2011 02:57:43 +0000 (19:57 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 4 Apr 2011 11:19:31 +0000 (12:19 +0100)
This helps when SSTATE_MANIFESTS is overridden by external layers

Signed-off-by: Khem Raj <raj.khem@gmail.com>
meta/classes/sanity.bbclass

index 639e1ea61a33f50f8cb1c51ea0d787f84005752f..500a1b2f6942ca55dbec2d45f16d0f61fd30b5ff 100644 (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):