summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe/sstatesig.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oe/sstatesig.py')
-rw-r--r--meta/lib/oe/sstatesig.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py
index a58f03a342..8224e3a12e 100644
--- a/meta/lib/oe/sstatesig.py
+++ b/meta/lib/oe/sstatesig.py
@@ -130,7 +130,9 @@ class SignatureGeneratorOEBasicHash(bb.siggen.SignatureGeneratorBasicHash):
130 super(bb.siggen.SignatureGeneratorBasicHash, self).set_taskdata(coredata) 130 super(bb.siggen.SignatureGeneratorBasicHash, self).set_taskdata(coredata)
131 131
132 def dump_sigs(self, dataCache, options): 132 def dump_sigs(self, dataCache, options):
133 self.dump_lockedsigs() 133 sigfile = os.getcwd() + "/locked-sigs.inc"
134 bb.plain("Writing locked sigs to %s" % sigfile)
135 self.dump_lockedsigs(sigfile)
134 return super(bb.siggen.SignatureGeneratorBasicHash, self).dump_sigs(dataCache, options) 136 return super(bb.siggen.SignatureGeneratorBasicHash, self).dump_sigs(dataCache, options)
135 137
136 def get_taskhash(self, fn, task, deps, dataCache): 138 def get_taskhash(self, fn, task, deps, dataCache):
@@ -181,11 +183,7 @@ class SignatureGeneratorOEBasicHash(bb.siggen.SignatureGeneratorBasicHash):
181 return 183 return
182 super(bb.siggen.SignatureGeneratorBasicHash, self).dump_sigtask(fn, task, stampbase, runtime) 184 super(bb.siggen.SignatureGeneratorBasicHash, self).dump_sigtask(fn, task, stampbase, runtime)
183 185
184 def dump_lockedsigs(self, sigfile=None, taskfilter=None): 186 def dump_lockedsigs(self, sigfile, taskfilter=None):
185 if not sigfile:
186 sigfile = os.getcwd() + "/locked-sigs.inc"
187
188 bb.plain("Writing locked sigs to %s" % sigfile)
189 types = {} 187 types = {}
190 for k in self.runtaskdeps: 188 for k in self.runtaskdeps:
191 if taskfilter: 189 if taskfilter: