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

login
register
mail settings
Submitter Christopher Larson
Date Jan. 21, 2013, 2:34 a.m.
Message ID <1358735666-7605-1-git-send-email-kergoth@gmail.com>
Download mbox | patch
Permalink /patch/43007/
State Accepted
Commit f63f387b836312a1efb57651c37682381d139685
Headers show

Comments

Christopher Larson - Jan. 21, 2013, 2:34 a.m.
From: Christopher Larson <chris_larson@mentor.com>

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

Patch

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)