Patchwork [bitbake-devel,3/3] bitbake-layers: use parsable title for show-appends

login
register
mail settings
Submitter Paul Eggleton
Date Aug. 21, 2012, 5:11 p.m.
Message ID <262ce12f39ee02a69ef4b4721bed43db114cde78.1345568965.git.paul.eggleton@linux.intel.com>
Download mbox | patch
Permalink /patch/35077/
State New
Headers show

Comments

Paul Eggleton - Aug. 21, 2012, 5:11 p.m.
Print title text surrounded by === as we do with other subcommands so
that you can filter it out in scripts. (You will also want to filter out
lines starting with "WARNING:" if you just want the list).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 bitbake/bin/bitbake-layers |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/bitbake/bin/bitbake-layers b/bitbake/bin/bitbake-layers
index 6d18d94..f473711 100755
--- a/bitbake/bin/bitbake-layers
+++ b/bitbake/bin/bitbake-layers
@@ -521,7 +521,7 @@  Recipes are listed with the bbappends that apply to them as subitems.
             logger.plain('No append files found')
             return
 
-        logger.plain('State of append files:')
+        logger.plain('=== Appended recipes ===')
 
         pnlist = list(self.cooker_data.pkg_pn.keys())
         pnlist.sort()