summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/siggen.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/siggen.py')
-rw-r--r--bitbake/lib/bb/siggen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py
index 9fa568f614..bd6fc204fa 100644
--- a/bitbake/lib/bb/siggen.py
+++ b/bitbake/lib/bb/siggen.py
@@ -419,7 +419,7 @@ class SignatureGeneratorBasic(SignatureGenerator):
419 bb.error("Taskhash mismatch %s versus %s for %s" % (computed_taskhash, self.taskhash[tid], tid)) 419 bb.error("Taskhash mismatch %s versus %s for %s" % (computed_taskhash, self.taskhash[tid], tid))
420 sigfile = sigfile.replace(self.taskhash[tid], computed_taskhash) 420 sigfile = sigfile.replace(self.taskhash[tid], computed_taskhash)
421 421
422 fd, tmpfile = tempfile.mkstemp(dir=os.path.dirname(sigfile), prefix="sigtask.") 422 fd, tmpfile = bb.utils.mkstemp(dir=os.path.dirname(sigfile), prefix="sigtask.")
423 try: 423 try:
424 with bb.compress.zstd.open(fd, "wt", encoding="utf-8", num_threads=1) as f: 424 with bb.compress.zstd.open(fd, "wt", encoding="utf-8", num_threads=1) as f:
425 json.dump(data, f, sort_keys=True, separators=(",", ":"), cls=SetEncoder) 425 json.dump(data, f, sort_keys=True, separators=(",", ":"), cls=SetEncoder)