diff options
author | Christopher Larson <chris_larson@mentor.com> | 2013-01-20 19:34:26 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-01-21 10:22:08 +0000 |
commit | f63f387b836312a1efb57651c37682381d139685 (patch) | |
tree | 50191dd18385a904b05b917ed66c819a963f7119 | |
parent | be2a1508b16b3afc89521b3fa1eb195a0c6970fe (diff) | |
download | poky-f63f387b836312a1efb57651c37682381d139685.tar.gz |
package.bbclass: drop unnecessary and broken packages.remove()
(From OE-Core rev: 5480371d0473482437ce4350e6593f006101ef40)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/package.bbclass | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index 4794f0ece1..8e07168be3 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass | |||
@@ -948,7 +948,6 @@ python populate_packages () { | |||
948 | for pkg in packages.split(): | 948 | for pkg in packages.split(): |
949 | if d.getVar('LICENSE_EXCLUSION-' + pkg, True): | 949 | if d.getVar('LICENSE_EXCLUSION-' + pkg, True): |
950 | bb.warn("%s has an incompatible license. Excluding from packaging." % pkg) | 950 | bb.warn("%s has an incompatible license. Excluding from packaging." % pkg) |
951 | packages.remove(pkg) | ||
952 | else: | 951 | else: |
953 | if pkg in package_list: | 952 | if pkg in package_list: |
954 | bb.error("%s is listed in PACKAGES multiple times, this leads to packaging errors." % pkg) | 953 | bb.error("%s is listed in PACKAGES multiple times, this leads to packaging errors." % pkg) |