[OE-core] [PATCH] package.bbclass: drop unnecessary and broken packages.remove()

Christopher Larson kergoth at gmail.com
Mon Jan 21 02:34:26 UTC 2013


From: Christopher Larson <chris_larson at mentor.com>

Signed-off-by: Christopher Larson <chris_larson at mentor.com>
---
 meta/classes/package.bbclass | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index b06cca5..068ab92 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -948,7 +948,6 @@ python populate_packages () {
     for pkg in packages.split():
         if d.getVar('LICENSE_EXCLUSION-' + pkg, True):
             bb.warn("%s has an incompatible license. Excluding from packaging." % pkg)
-            packages.remove(pkg)
         else:
             if pkg in package_list:
                 bb.error("%s is listed in PACKAGES multiple times, this leads to packaging errors." % pkg)
-- 
1.8.0.3





More information about the Openembedded-core mailing list