diff options
author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2017-03-08 13:56:04 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-14 14:42:17 +0000 |
commit | 226cc7396a978a5aad22a313bc8e58580c06b161 (patch) | |
tree | 45dd9d66a8718834e5dd40e4c615a2097adbc8d8 | |
parent | 44e229c995757d2d697a4d799ab1e4e82d7d4471 (diff) | |
download | poky-226cc7396a978a5aad22a313bc8e58580c06b161.tar.gz |
package.bbclass: don't exclude package groups from runtime mapping
This ensures that remapping happens correctly, particularly
when package groups list noarch packages, and multilib is in use. Previously
this was masked by rpm doing *another* layer of remapping on top of this.
(From OE-Core rev: ad0e32014e846d20a1449de76e152e5f06812685)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/package.bbclass | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index f4c2b5514c..48fef97251 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass | |||
@@ -479,9 +479,6 @@ def get_package_additional_metadata (pkg_type, d): | |||
479 | def runtime_mapping_rename (varname, pkg, d): | 479 | def runtime_mapping_rename (varname, pkg, d): |
480 | #bb.note("%s before: %s" % (varname, d.getVar(varname))) | 480 | #bb.note("%s before: %s" % (varname, d.getVar(varname))) |
481 | 481 | ||
482 | if bb.data.inherits_class('packagegroup', d): | ||
483 | return | ||
484 | |||
485 | new_depends = {} | 482 | new_depends = {} |
486 | deps = bb.utils.explode_dep_versions2(d.getVar(varname) or "") | 483 | deps = bb.utils.explode_dep_versions2(d.getVar(varname) or "") |
487 | for depend in deps: | 484 | for depend in deps: |