[OE-core] [PATCH 39/44] package.bbclass: don't exclude package groups from runtime mapping
Mark Hatle
mark.hatle at windriver.com
Fri Mar 10 17:12:28 UTC 2017
On 3/10/17 5:24 AM, Alexander Kanavin wrote:
> 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.
This change is definitely NOT rpm specific.
I'm not sure I understand either why this line was there or why it was removed.
Looking at the history, there was a lot of work being done in this section about
generic package work at the time.
See oe commits:
9c826962ec8fa45c2b035427442b90a41517144e
to
a0cd18ff5405b63b8296b8ef1fc2a488b906f576
--Mark
> Signed-off-by: Alexander Kanavin <alexander.kanavin at linux.intel.com>
> ---
> meta/classes/package.bbclass | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
> index f4c2b5514c5..48fef97251b 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:
>
More information about the Openembedded-core
mailing list