diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-02-14 11:35:21 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-02-16 11:24:30 +0000 |
commit | 3e664599fd54a8a37ce587022fcbce5ca26f2ed3 (patch) | |
tree | 7f38b7aef5c088c98d0b0720c07f65ad72f3f83f /lib | |
parent | 5f7fdf7b2d8c59805c8ef4dae84f536baa5e172b (diff) | |
download | bitbake-3e664599fd54a8a37ce587022fcbce5ca26f2ed3.tar.gz |
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.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bb/runqueue.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py index b8b217c64..54ef245a6 100644 --- a/lib/bb/runqueue.py +++ b/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"<cookerconfig>" + pickle.dumps(self.cooker.configuration) + b"</cookerconfig>") |