diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2016-03-02 22:47:40 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-03-07 17:23:04 +0000 |
commit | ac941ac0a2b249d11783efea4676e65d78cb5f43 (patch) | |
tree | 48fe9ecca71bb5c60bdaba1cdc2d2b91fba0d3cc /bitbake/lib | |
parent | dd3da9aa471c16659931162a1c7c7781265d0819 (diff) | |
download | poky-ac941ac0a2b249d11783efea4676e65d78cb5f43.tar.gz |
bitbake: command: make setEventMask readonly
Executing setEventMask command when bitbake server is in readonly
mode causes runCommand to fail with the following error:
'Not able to execute not readonly commands in readonly mode'
Set readonly attribute for setEventMask command to make it working
for Toaster UI. This should not do any harm as this command doesn't
influence cooker state.
(Bitbake rev: 8a47d30b2555255fbf6049c5ed69b29664c32b17)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: brian avery <avery.brian@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/command.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/command.py b/bitbake/lib/bb/command.py index 74106d1434..0559ffc07c 100644 --- a/bitbake/lib/bb/command.py +++ b/bitbake/lib/bb/command.py | |||
@@ -279,6 +279,7 @@ class CommandsSync: | |||
279 | mask = params[3] | 279 | mask = params[3] |
280 | return bb.event.set_UIHmask(handlerNum, llevel, debug_domains, mask) | 280 | return bb.event.set_UIHmask(handlerNum, llevel, debug_domains, mask) |
281 | setEventMask.needconfig = False | 281 | setEventMask.needconfig = False |
282 | setEventMask.readonly = True | ||
282 | 283 | ||
283 | def setFeatures(self, command, params): | 284 | def setFeatures(self, command, params): |
284 | """ | 285 | """ |