From aa1a780d84c9206f850e007775e9dd8cee5f0a59 Mon Sep 17 00:00:00 2001 From: Kevin Tian Date: Wed, 8 Dec 2010 08:38:58 +0800 Subject: siggen.py: make sure stamp directory existing or else "bitbake -S" from scratch may report "No such file or directory" error. Signed-off-by: Kevin Tian --- bitbake/lib/bb/siggen.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bitbake') diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py index 391020a9ed..3eecd751b4 100644 --- a/bitbake/lib/bb/siggen.py +++ b/bitbake/lib/bb/siggen.py @@ -137,6 +137,8 @@ class SignatureGeneratorBasic(SignatureGenerator): else: sigfile = stampbase + "." + task + ".sigbasedata" + "." + self.basehash[k] + bb.utils.mkdirhier(os.path.dirname(sigfile)) + data = {} data['basewhitelist'] = self.basewhitelist data['taskwhitelist'] = self.taskwhitelist -- cgit v1.2.3