Patchwork [bitbake-devel] bitbake: show wildcard appends for bitbake-layers

login
register
mail settings
Submitter Ash Charles
Date June 5, 2014, 7:56 p.m.
Message ID <1401998165-20959-1-git-send-email-ashcharles@gmail.com>
Download mbox | patch
Permalink /patch/73323/
State New
Headers show

Comments

Ash Charles - June 5, 2014, 7:56 p.m.
The 'bitbake-layers show-appends' command can use the built-in
get_file_appends() method which correctly identifies bbappends that
include a '%' wildcard in their filename.

Signed-off-by: Ash Charles <ashcharles@gmail.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 302f020..9964040 100755
--- a/bitbake/bin/bitbake-layers
+++ b/bitbake/bin/bitbake-layers
@@ -556,7 +556,7 @@  Recipes are listed with the bbappends that apply to them as subitems.
                 continue
 
             basename = os.path.basename(filename)
-            appends = self.bbhandler.cooker.collection.appendlist.get(basename)
+            appends = self.bbhandler.cooker.collection.get_file_appends(basename)
             if appends:
                 appended.append((basename, list(appends)))
             else: