diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-11-12 17:12:14 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-11-13 16:08:07 +0000 |
commit | 5b3606d3567eb87a9685e5de3437603b1a2d3569 (patch) | |
tree | d5cf7212fb0a6604e57467d535c43d15b51a584b /meta/recipes-extended/packagegroups | |
parent | 170fbd5c606657009cf218e5d84c93e688a46ea6 (diff) | |
download | openembedded-core-5b3606d3567eb87a9685e5de3437603b1a2d3569.tar.gz |
packagegroup-core-full-cmdline: Drop compatibility mappings
The task-core namespace was dropped years ago and we've had the compatibility
mappings for a long time. We should no longer need them as everyone should long
since have adapted.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/packagegroups')
-rw-r--r-- | meta/recipes-extended/packagegroups/packagegroup-core-full-cmdline.bb | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/meta/recipes-extended/packagegroups/packagegroup-core-full-cmdline.bb b/meta/recipes-extended/packagegroups/packagegroup-core-full-cmdline.bb index c0647b2188..b66617fbf6 100644 --- a/meta/recipes-extended/packagegroups/packagegroup-core-full-cmdline.bb +++ b/meta/recipes-extended/packagegroups/packagegroup-core-full-cmdline.bb @@ -18,41 +18,6 @@ PACKAGES = "\ packagegroup-core-full-cmdline-sys-services \ " -python __anonymous () { - # For backwards compatibility after rename - namemap = {} - namemap["packagegroup-core-full-cmdline"] = "packagegroup-core-basic" - namemap["packagegroup-core-full-cmdline-utils"] = "packagegroup-core-basic-utils" - namemap["packagegroup-core-full-cmdline-extended"] = "packagegroup-core-basic-extended" - namemap["packagegroup-core-full-cmdline-dev-utils"] = "packagegroup-core-dev-utils" - namemap["packagegroup-core-full-cmdline-multiuser"] = "packagegroup-core-multiuser" - namemap["packagegroup-core-full-cmdline-initscripts"] = "packagegroup-core-initscripts" - namemap["packagegroup-core-full-cmdline-sys-services"] = "packagegroup-core-sys-services" - - packages = d.getVar("PACKAGES").split() - mlprefix = d.getVar("MLPREFIX") - for pkg in packages: - pkg2 = pkg[len(mlprefix):] - if pkg.endswith('-dev'): - mapped = namemap.get(pkg2[:-4], None) - if mapped: - mapped += '-dev' - elif pkg.endswith('-dbg'): - mapped = namemap.get(pkg2[:-4], None) - if mapped: - mapped += '-dbg' - else: - mapped = namemap.get(pkg2, None) - - if mapped: - oldtaskname = mapped.replace("packagegroup-core", "task-core") - mapstr = " %s%s %s%s" % (mlprefix, mapped, mlprefix, oldtaskname) - d.appendVar("RPROVIDES:%s" % pkg, mapstr) - d.appendVar("RREPLACES:%s" % pkg, mapstr) - d.appendVar("RCONFLICTS:%s" % pkg, mapstr) -} - - RDEPENDS:packagegroup-core-full-cmdline = "\ packagegroup-core-full-cmdline-utils \ packagegroup-core-full-cmdline-extended \ |