]> code.ossystems Code Review - openembedded-core.git/commitdiff
insane: Fix populate_sysroot sanity test path
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 4 Feb 2016 12:38:50 +0000 (12:38 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 4 Feb 2016 23:40:17 +0000 (23:40 +0000)
This was correct for native/cross paths but not for target ones which
meant the tests weren't running in some cases. Fix the path to be
correct in both cases.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/insane.bbclass

index c70e887d52e68005b5dd9d5e7c1e12ffcae0ff62..47b441ad75b435498f102e7995aada173e777a86 100644 (file)
@@ -1130,7 +1130,7 @@ addtask do_package_qa_setscene
 python do_qa_staging() {
     bb.note("QA checking staging")
 
-    if not package_qa_check_staged(d.expand('${SYSROOT_DESTDIR}${STAGING_LIBDIR}'), d):
+    if not package_qa_check_staged(d.expand('${SYSROOT_DESTDIR}${libdir}'), d):
         bb.fatal("QA staging was broken by the package built above")
 }