From f4fb74465787b50030d7fed5e0b293774ccb371b Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sun, 14 Feb 2021 11:35:21 +0000 Subject: bitbake: bitbake-worker/runqueue: Add support for BB_DEFAULT_UMASK Currently each task has to have a umask specified individually. This is leading to determinism issues since it is easy to miss specifying this for an extra task. Add support for specifing the default task umask globally which simplifies the problem. (Bitbake rev: 3e664599fd54a8a37ce587022fcbce5ca26f2ed3) Signed-off-by: Richard Purdie --- bitbake/lib/bb/runqueue.py | 1 + 1 file changed, 1 insertion(+) (limited to 'bitbake/lib/bb/runqueue.py') diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index b8b217c64a..54ef245a63 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py @@ -1271,6 +1271,7 @@ class RunQueue: "date" : self.cfgData.getVar("DATE"), "time" : self.cfgData.getVar("TIME"), "hashservaddr" : self.cooker.hashservaddr, + "umask" : self.cfgData.getVar("BB_DEFAULT_UMASK"), } worker.stdin.write(b"" + pickle.dumps(self.cooker.configuration) + b"") -- cgit v1.2.3-54-g00ecf