Lines Matching full:command
2 BitBake 'Command' module
45 return "Command execution failed: %s" % self.error
50 class Command: class
64 command = commandline.pop(0)
67 if command != "updateConfig" and command != "setFeatures":
80 if hasattr(CommandsSync, command):
82 command_method = getattr(self.cmds_sync, command)
104 if command not in CommandsAsync.__dict__:
105 return None, "No such command"
106 self.currentAsyncCommand = (command, commandline)
119 (command, options) = self.currentAsyncCommand
120 commandmethod = getattr(CommandsAsync, command)
166 These must not influence any running synchronous command.
169 def stateShutdown(self, command, params): argument
173 command.cooker.shutdown(False)
175 def stateForceShutdown(self, command, params): argument
179 command.cooker.shutdown(True)
181 def getAllKeysWithFlags(self, command, params): argument
187 return command.cooker.getAllKeysWithFlags(flaglist)
190 def getVariable(self, command, params): argument
199 return command.cooker.data.getVar(varname, expand)
202 def setVariable(self, command, params): argument
208 command.cooker.extraconfigdata[varname] = value
209 command.cooker.data.setVar(varname, value)
211 def getSetVariable(self, command, params): argument
217 result = self.getVariable(command, params)
218 command.cooker.data.setVar(varname, result)
221 def setConfig(self, command, params): argument
227 setattr(command.cooker.configuration, varname, value)
229 def enableDataTracking(self, command, params): argument
233 command.cooker.enableDataTracking()
235 def disableDataTracking(self, command, params): argument
239 command.cooker.disableDataTracking()
241 def setPrePostConfFiles(self, command, params): argument
244 command.cooker.configuration.prefile = prefiles
245 command.cooker.configuration.postfile = postfiles
248 def matchFile(self, command, params): argument
254 return command.cooker.matchFile(fMatch, mc)
257 def getUIHandlerNum(self, command, params): argument
262 def setEventMask(self, command, params): argument
271 def setFeatures(self, command, params): argument
276 command.cooker.setFeatures(features)
282 def updateConfig(self, command, params): argument
286 command.cooker.updateConfigOpts(options, environment, cmdline)
289 def parseConfiguration(self, command, params): argument
294 command.cooker.parseConfiguration()
297 def getLayerPriorities(self, command, params): argument
298 command.cooker.parseConfiguration()
301 for collection, pattern, regex, pri in command.cooker.bbfile_config_priorities:
306 def getRecipes(self, command, params): argument
311 return list(command.cooker.recipecaches[mc].pkg_pn.items())
314 def getRecipeDepends(self, command, params): argument
319 return list(command.cooker.recipecaches[mc].deps.items())
322 def getRecipeVersions(self, command, params): argument
327 return command.cooker.recipecaches[mc].pkg_pepvpr
330 def getRecipeProvides(self, command, params): argument
335 return command.cooker.recipecaches[mc].fn_provides
338 def getRecipePackages(self, command, params): argument
343 return command.cooker.recipecaches[mc].packages
346 def getRecipePackagesDynamic(self, command, params): argument
351 return command.cooker.recipecaches[mc].packages_dynamic
354 def getRProviders(self, command, params): argument
359 return command.cooker.recipecaches[mc].rproviders
362 def getRuntimeDepends(self, command, params): argument
368 rundeps = command.cooker.recipecaches[mc].rundeps
376 def getRuntimeRecommends(self, command, params): argument
382 runrecs = command.cooker.recipecaches[mc].runrecs
390 def getRecipeInherits(self, command, params): argument
395 return command.cooker.recipecaches[mc].inherits
398 def getBbFilePriority(self, command, params): argument
403 return command.cooker.recipecaches[mc].bbfile_priority
406 def getDefaultPreference(self, command, params): argument
411 return command.cooker.recipecaches[mc].pkg_dp
414 def getSkippedRecipes(self, command, params): argument
420 return (-command.cooker.collections[mc].calc_bbfile_priority(realfn)[0], vfn)
422 skipdict = OrderedDict(sorted(command.cooker.skiplist.items(), key=sortkey))
426 def getOverlayedRecipes(self, command, params): argument
431 return list(command.cooker.collections[mc].overlayed.items())
434 def getFileAppends(self, command, params): argument
440 return command.cooker.collections[mc].get_file_appends(fn)
443 def getAllAppends(self, command, params): argument
448 return command.cooker.collections[mc].bbappends
451 def findProviders(self, command, params): argument
456 return command.cooker.findProviders(mc)
459 def findBestProvider(self, command, params): argument
461 return command.cooker.findBestProvider(pn, mc)
464 def allProviders(self, command, params): argument
469 return list(bb.providers.allProviders(command.cooker.recipecaches[mc]).items())
472 def getRuntimeProviders(self, command, params): argument
478 all_p = bb.providers.getRuntimeProviders(command.cooker.recipecaches[mc], rprovide)
481 command.cooker.data,
482 command.cooker.recipecaches[mc])[0][0]
488 def dataStoreConnectorCmd(self, command, params): argument
494 d = command.remotedatastores[dsindex]
498 idx = command.remotedatastores.store(ret)
503 def dataStoreConnectorVarHistCmd(self, command, params): argument
509 d = command.remotedatastores[dsindex].varhistory
512 def dataStoreConnectorVarHistCmdEmit(self, command, params): argument
517 d = command.remotedatastores[params[4]]
520 command.remotedatastores[dsindex].varhistory.emit(var, oval, val, o, d)
523 def dataStoreConnectorIncHistCmd(self, command, params): argument
529 d = command.remotedatastores[dsindex].inchistory
532 def dataStoreConnectorRelease(self, command, params): argument
536 command.remotedatastores.release(dsindex)
538 def parseRecipeFile(self, command, params): argument
549 config_data = command.remotedatastores[params[3]]
557 appendfiles = command.cooker.collections[mc].get_file_appends(fn)
570 parser = bb.cache.NoCache(command.cooker.databuilder)
572 idx = command.remotedatastores.store(envdata)
583 def buildFile(self, command, params): argument
595 command.cooker.buildFileInternal(bfile, task, fireevents=False, quietlog=True)
597 command.cooker.buildFile(bfile, task)
600 def buildTargets(self, command, params): argument
607 command.cooker.buildTargets(pkgs_to_build, task)
610 def generateDepTreeEvent(self, command, params): argument
617 command.cooker.generateDepTreeEvent(pkgs_to_build, task)
618 command.finishAsyncCommand()
621 def generateDotGraph(self, command, params): argument
628 command.cooker.generateDotGraphFiles(pkgs_to_build, task)
629 command.finishAsyncCommand()
632 def generateTargetsTree(self, command, params): argument
643 command.cooker.generateTargetsTree(klass, pkg_list)
644 command.finishAsyncCommand()
647 def findConfigFiles(self, command, params): argument
654 command.cooker.findConfigFiles(varname)
655 command.finishAsyncCommand()
658 def findFilesMatchingInDir(self, command, params): argument
666 command.cooker.findFilesMatchingInDir(pattern, directory)
667 command.finishAsyncCommand()
670 def testCookerCommandEvent(self, command, params): argument
672 Dummy command used by OEQA selftest to test tinfoil without IO
676 command.cooker.testCookerCommandEvent(pattern)
677 command.finishAsyncCommand()
680 def findConfigFilePath(self, command, params): argument
686 command.cooker.findConfigFilePath(configfile)
687 command.finishAsyncCommand()
690 def showVersions(self, command, params): argument
694 command.cooker.showVersions()
695 command.finishAsyncCommand()
698 def showEnvironmentTarget(self, command, params): argument
705 command.cooker.showEnvironment(None, pkg)
706 command.finishAsyncCommand()
709 def showEnvironment(self, command, params): argument
716 command.cooker.showEnvironment(bfile)
717 command.finishAsyncCommand()
720 def parseFiles(self, command, params): argument
724 command.cooker.updateCache()
725 command.finishAsyncCommand()
728 def compareRevisions(self, command, params): argument
732 if bb.fetch.fetcher_compare_revisions(command.cooker.data):
733 command.finishAsyncCommand(code=1)
735 command.finishAsyncCommand()
738 def triggerEvent(self, command, params): argument
743 bb.event.fire(eval(event), command.cooker.data)
744 command.currentAsyncCommand = None
747 def resetCooker(self, command, params): argument
750 any async command that has the needcache property set to True
752 command.cooker.reset()
753 command.finishAsyncCommand()
756 def clientComplete(self, command, params): argument
760 command.cooker.clientComplete()
761 command.finishAsyncCommand()
764 def findSigInfo(self, command, params): argument
771 res = bb.siggen.find_siginfo(pn, taskname, sigs, command.cooker.databuilder.mcdata[mc])
772 bb.event.fire(bb.event.FindSigInfoResult(res), command.cooker.databuilder.mcdata[mc])
773 command.finishAsyncCommand()