diff options
author | Kevin Tian <kevin.tian@intel.com> | 2010-12-08 08:38:58 +0800 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-12-16 15:33:44 +0000 |
commit | aa1a780d84c9206f850e007775e9dd8cee5f0a59 (patch) | |
tree | de9ec5e6e123c1c6419fffeeaed81ffe92d0c886 | |
parent | 15f45b314ca7f4e96fecb0b1dc7f760e348eb8f1 (diff) | |
download | openembedded-core-aa1a780d84c9206f850e007775e9dd8cee5f0a59.tar.gz openembedded-core-aa1a780d84c9206f850e007775e9dd8cee5f0a59.tar.bz2 openembedded-core-aa1a780d84c9206f850e007775e9dd8cee5f0a59.zip |
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 <kevin.tian@intel.com>
-rw-r--r-- | bitbake/lib/bb/siggen.py | 2 |
1 files changed, 2 insertions, 0 deletions
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 |