summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/command.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/command.py')
-rw-r--r--bitbake/lib/bb/command.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/command.py b/bitbake/lib/bb/command.py
index a9232455cc..0d0354c30f 100644
--- a/bitbake/lib/bb/command.py
+++ b/bitbake/lib/bb/command.py
@@ -79,7 +79,7 @@ class Command:
79 return None, "Not able to execute not readonly commands in readonly mode" 79 return None, "Not able to execute not readonly commands in readonly mode"
80 try: 80 try:
81 self.cooker.process_inotify_updates() 81 self.cooker.process_inotify_updates()
82 if getattr(command_method, 'needconfig', False): 82 if getattr(command_method, 'needconfig', True):
83 self.cooker.updateCacheSync() 83 self.cooker.updateCacheSync()
84 result = command_method(self, commandline) 84 result = command_method(self, commandline)
85 except CommandError as exc: 85 except CommandError as exc:
@@ -283,6 +283,7 @@ class CommandsSync:
283 parseConfiguration.needconfig = False 283 parseConfiguration.needconfig = False
284 284
285 def getLayerPriorities(self, command, params): 285 def getLayerPriorities(self, command, params):
286 command.cooker.parseConfiguration()
286 ret = [] 287 ret = []
287 # regex objects cannot be marshalled by xmlrpc 288 # regex objects cannot be marshalled by xmlrpc
288 for collection, pattern, regex, pri in command.cooker.bbfile_config_priorities: 289 for collection, pattern, regex, pri in command.cooker.bbfile_config_priorities: