summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-19 13:41:34 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-25 08:57:44 +0100
commitff6ab056c7f63387ef05c99840597bf644f47884 (patch)
treecc80a2a25c14519266ea7dd2ed9c5a9f94774ca9
parent3694f05ef07e57e594843aa88af730ff855980cf (diff)
downloadpoky-ff6ab056c7f63387ef05c99840597bf644f47884.tar.gz
package: Don't remap names in packagegroup recipes
For package groups, use the original package names and don't use the remapped (e.g. debian) naming. (From OE-Core rev: afde71e8784144f05cebb0bdeeff6b3184819362) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/package.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 5d8123f2f9..1298758e13 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -374,6 +374,9 @@ def get_package_additional_metadata (pkg_type, d):
374def runtime_mapping_rename (varname, pkg, d): 374def runtime_mapping_rename (varname, pkg, d):
375 #bb.note("%s before: %s" % (varname, d.getVar(varname, True))) 375 #bb.note("%s before: %s" % (varname, d.getVar(varname, True)))
376 376
377 if bb.data.inherits_class('packagegroup', d):
378 return
379
377 new_depends = {} 380 new_depends = {}
378 deps = bb.utils.explode_dep_versions2(d.getVar(varname, True) or "") 381 deps = bb.utils.explode_dep_versions2(d.getVar(varname, True) or "")
379 for depend in deps: 382 for depend in deps: