diff options
Diffstat (limited to 'meta/lib/oe')
-rw-r--r-- | meta/lib/oe/packagedata.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/meta/lib/oe/packagedata.py b/meta/lib/oe/packagedata.py index efa600ddcd..162ff60d72 100644 --- a/meta/lib/oe/packagedata.py +++ b/meta/lib/oe/packagedata.py | |||
@@ -340,4 +340,12 @@ fi | |||
340 | and not bb.data.inherits_class('packagegroup', d): | 340 | and not bb.data.inherits_class('packagegroup', d): |
341 | write_extra_runtime_pkgs(global_variants, packages, pkgdatadir) | 341 | write_extra_runtime_pkgs(global_variants, packages, pkgdatadir) |
342 | 342 | ||
343 | 343 | def mapping_rename_hook(d): | |
344 | """ | ||
345 | Rewrite variables to account for package renaming in things | ||
346 | like debian.bbclass or manual PKG variable name changes | ||
347 | """ | ||
348 | pkg = d.getVar("PKG") | ||
349 | oe.packagedata.runtime_mapping_rename("RDEPENDS", pkg, d) | ||
350 | oe.packagedata.runtime_mapping_rename("RRECOMMENDS", pkg, d) | ||
351 | oe.packagedata.runtime_mapping_rename("RSUGGESTS", pkg, d) | ||