summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2017-03-08 13:56:04 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-13 09:43:21 +0000
commitad0e32014e846d20a1449de76e152e5f06812685 (patch)
tree6d0637fe8b27539f891aef1cc8689694c144cdcd
parentd9ea9003677d195f64eb4b3202e1c5d37d21b330 (diff)
downloadopenembedded-core-contrib-ad0e32014e846d20a1449de76e152e5f06812685.tar.gz
openembedded-core-contrib-ad0e32014e846d20a1449de76e152e5f06812685.tar.bz2
openembedded-core-contrib-ad0e32014e846d20a1449de76e152e5f06812685.zip
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. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
-rw-r--r--meta/classes/package.bbclass3
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):
def runtime_mapping_rename (varname, pkg, d):
#bb.note("%s before: %s" % (varname, d.getVar(varname)))
- if bb.data.inherits_class('packagegroup', d):
- return
-
new_depends = {}
deps = bb.utils.explode_dep_versions2(d.getVar(varname) or "")
for depend in deps: