Browse Source

blacklist_dynamic.bbclass: use getVar, not expand, for PNBLACKLIST_DYNAMIC

This ensures that _append/_prepend/_remove are also applied, so the user
can remove elements from the variable.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Christopher Larson 6 years ago
parent
commit
07ee6ebdb5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      classes/blacklist_dynamic.bbclass

+ 1 - 1
classes/blacklist_dynamic.bbclass

@@ -34,7 +34,7 @@ python pnblacklist_dynamic_setup () {
             localdata.setVar('OVERRIDES', localdata.getVar('OVERRIDES', False) + override)
             bb.data.update_data(localdata)
 
-        to_blacklist |= set(filter(None, localdata.expand(blacklisted).split()))
+        to_blacklist |= set(filter(None, localdata.getVar('PNBLACKLIST_DYNAMIC').split()))
 
     for blrecipe in to_blacklist:
         d.setVarFlag('PNBLACKLIST', blrecipe, 'blacklisted by PNBLACKLIST_DYNAMIC')