Skip to contentSkip to conversation

insane: Fix populate_sysroot sanity test path

PATCH New Richard Purdie 1 participant 1 message Feb 4, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 insane: Fix populate_sysroot sanity test path

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.

meta/classes/insane.bbclass +1 -1
index c70e887..47b441a 100644
@@ -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")
 }