Skip to contentSkip to conversation

bitbake-layers show-appends doesn't show wildcarded appends

PATCH New Ash Charles 1 participant 2 messages Jun 5, 2014

lore
Share & tools
lore
#0 lore raw

Hi,

I just tried using bitbake-layers show-appends but I don't see wildcarded bbappends in the list.

e.g. if I have a bbappend named eglinfo_%.bbappend, it doesn't show up if I do

$ bitbake-layers show-appends
but it does show up if I change the file name to eglinfo_1.0.bbappend
(as '1.0' is the current version).

Regardless of the file name, the bbappend is used.

--Ash

#1 lore raw

PATCH 1/1 bitbake: show wildcard appends for bitbake-layers

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.

---
 bitbake/bin/bitbake-layers | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
bitbake/bin/bitbake-layers +1 -1
index 302f020..9964040 100755
@@ -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:
Signature · 1 line
1.8.3.2