aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2011-06-29 19:37:38 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-05 13:25:11 +0100
commitf0c2175dc943160e45ebd72fc932dd16ee361bfb (patch)
treede1ef732abec0354a62631853d94ce3d4878d3d8 /bin
parent370fc603d79f9c34cc23b4b520b685256c23df5d (diff)
downloadbitbake-f0c2175dc943160e45ebd72fc932dd16ee361bfb.tar.gz
bitbake-layers: add show_overlayed action
Add a show_overlayed action to list overlayed recipes. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/bitbake-layers10
1 files changed, 10 insertions, 0 deletions
diff --git a/bin/bitbake-layers b/bin/bitbake-layers
index 6b5ad5a38..fced88ef3 100755
--- a/bin/bitbake-layers
+++ b/bin/bitbake-layers
@@ -73,6 +73,16 @@ class Commands(cmd.Cmd):
def do_show_layers(self, args):
logger.info(str(self.config_data.getVar('BBLAYERS', True)))
+ def do_show_overlayed(self, args):
+ if self.cooker.overlayed:
+ logger.info('Overlayed recipes:')
+ for f in self.cooker.overlayed.iterkeys():
+ logger.info('%s' % f)
+ for of in self.cooker.overlayed[f]:
+ logger.info(' %s' % of)
+ else:
+ logger.info('No overlayed recipes found')
+
def do_show_appends(self, args):
if not self.cooker_data.appends:
logger.info('No append files found')