lib/bb/siggen.py: ensure dumped signatures have group R/W
We anticipate signatures being shared amongst peers in a group so ensure they have rw-rw-r-- permissions to facilitate this. (Bitbake rev: e4716f316152cafabebcefec7b387edeb02ad3eb) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
fb7fa0159e
commit
63ccc3f266
|
@ -201,8 +201,10 @@ class SignatureGeneratorBasic(SignatureGenerator):
|
||||||
for dep in data['runtaskdeps']:
|
for dep in data['runtaskdeps']:
|
||||||
data['runtaskhashes'][dep] = self.taskhash[dep]
|
data['runtaskhashes'][dep] = self.taskhash[dep]
|
||||||
|
|
||||||
p = pickle.Pickler(open(sigfile, "wb"), -1)
|
with open(sigfile, "wb") as f:
|
||||||
p.dump(data)
|
p = pickle.Pickler(f, -1)
|
||||||
|
p.dump(data)
|
||||||
|
os.chmod(sigfile, 0664)
|
||||||
|
|
||||||
def dump_sigs(self, dataCache):
|
def dump_sigs(self, dataCache):
|
||||||
for fn in self.taskdeps:
|
for fn in self.taskdeps:
|
||||||
|
|
Loading…
Reference in New Issue