From 05c4692320901eb5c600f04d346cbc743380bfbc Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Wed, 16 Feb 2011 15:41:37 -0700 Subject: siggen: add bb.data, bb.parse imports (Bitbake rev: 8eafb12208fcd073f930c0c74f25831d02c02198) Signed-off-by: Chris Larson Signed-off-by: Richard Purdie --- bitbake/lib/bb/siggen.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py index a101ce8bb3..e804d611b9 100644 --- a/bitbake/lib/bb/siggen.py +++ b/bitbake/lib/bb/siggen.py @@ -1,6 +1,7 @@ import hashlib import logging import re +import bb.data logger = logging.getLogger('BitBake.SigGen') @@ -205,6 +206,7 @@ class SignatureGeneratorBasicHash(SignatureGeneratorBasic): return ("%s.%s.%s.%s" % (stampbase, taskname, h, extrainfo)).rstrip('.') def dump_this_task(outfile, d): + import bb.parse fn = d.getVar("BB_FILENAME", True) task = "do_" + d.getVar("BB_CURRENTTASK", True) bb.parse.siggen.dump_sigtask(fn, task, outfile, "customfile") -- cgit v1.2.3