insane.bbclass: import bb to make python happy
authorHolger Hans Peter Freyther <zecke@selfish.org>
Sun, 26 Oct 2008 19:13:11 +0000 (20:13 +0100)
committerHolger Hans Peter Freyther <zecke@selfish.org>
Mon, 27 Oct 2008 14:03:26 +0000 (15:03 +0100)
    With bitbake -b this broke, import bb to make the python runtime
    happy.

classes/insane.bbclass

index 6608666..331fd57 100644 (file)
@@ -422,6 +422,7 @@ def package_qa_check_rdepends(pkg, workdir, d):
 
 # The PACKAGE FUNC to scan each package
 python do_package_qa () {
+    import bb
     bb.note("DO PACKAGE QA")
     workdir = bb.data.getVar('WORKDIR', d, True)
     packages = bb.data.getVar('PACKAGES',d, True)