Skip to contentSkip to conversation

package.bbclass: drop unnecessary and broken packages.remove()

PATCH New Christopher Larson 1 participant 1 message Jan 21, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package.bbclass: drop unnecessary and broken packages.remove()

From: Christopher Larson <[email protected]>

---
 meta/classes/package.bbclass | 1 -
 1 file changed, 1 deletion(-)
meta/classes/package.bbclass +0 -1
index b06cca5..068ab92 100644
@@ -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)
Signature · 1 line
1.8.0.3