summaryrefslogtreecommitdiffstats
path: root/lib/bb/command.py
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2011-06-30 23:02:51 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-01 16:59:15 +0100
commit22c8600b885faf841795b872d82f68dfb644a26e (patch)
tree4fd49673fc6e182a05c0e76a78a8acb098160641 /lib/bb/command.py
parentc515b76c3a27d57d5ae8dddf15cc836811b24ee1 (diff)
downloadbitbake-22c8600b885faf841795b872d82f68dfb644a26e.tar.gz
command|cooker|event: add findConfigFilePath command
This takes the name of a .conf file and returns the full path to it Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/command.py')
-rw-r--r--lib/bb/command.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/bb/command.py b/lib/bb/command.py
index d597d1d39..2f37938ce 100644
--- a/lib/bb/command.py
+++ b/lib/bb/command.py
@@ -251,6 +251,16 @@ class CommandsAsync:
command.finishAsyncCommand()
findConfigFiles.needcache = True
+ def findConfigFilePath(self, command, params):
+ """
+ Find the path of the requested configuration file
+ """
+ configfile = params[0]
+
+ command.cooker.findConfigFilePath(configfile)
+ command.finishAsyncCommand()
+ findConfigFilePath.needcache = False
+
def showVersions(self, command, params):
"""
Show the currently selected versions