From: Ed Bartosh Date: Thu, 3 Mar 2016 06:47:40 +0000 (-0800) Subject: command: make setEventMask readonly X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8a47d30b2555255fbf6049c5ed69b29664c32b17;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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. Signed-off-by: Ed Bartosh Signed-off-by: brian avery Signed-off-by: Richard Purdie --- diff --git a/lib/bb/command.py b/lib/bb/command.py index 74106d14344..0559ffc07cb 100644 --- a/lib/bb/command.py +++ b/lib/bb/command.py @@ -279,6 +279,7 @@ class CommandsSync: mask = params[3] return bb.event.set_UIHmask(handlerNum, llevel, debug_domains, mask) setEventMask.needconfig = False + setEventMask.readonly = True def setFeatures(self, command, params): """