summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorKevin Tian <kevin.tian@intel.com>2010-12-08 08:38:58 +0800
committerRichard Purdie <rpurdie@linux.intel.com>2010-12-16 15:33:44 +0000
commitaa1a780d84c9206f850e007775e9dd8cee5f0a59 (patch)
treede9ec5e6e123c1c6419fffeeaed81ffe92d0c886 /bitbake
parent15f45b314ca7f4e96fecb0b1dc7f760e348eb8f1 (diff)
downloadpoky-aa1a780d84c9206f850e007775e9dd8cee5f0a59.tar.gz
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>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/siggen.py2
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):
137 else: 137 else:
138 sigfile = stampbase + "." + task + ".sigbasedata" + "." + self.basehash[k] 138 sigfile = stampbase + "." + task + ".sigbasedata" + "." + self.basehash[k]
139 139
140 bb.utils.mkdirhier(os.path.dirname(sigfile))
141
140 data = {} 142 data = {}
141 data['basewhitelist'] = self.basewhitelist 143 data['basewhitelist'] = self.basewhitelist
142 data['taskwhitelist'] = self.taskwhitelist 144 data['taskwhitelist'] = self.taskwhitelist