summaryrefslogtreecommitdiffstats
path: root/meta/classes/package.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/package.bbclass')
-rw-r--r--meta/classes/package.bbclass4
1 files changed, 1 insertions, 3 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 44e551f6dd..3d0f406b80 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -1788,7 +1788,7 @@ addtask package_write before do_build after do_package
1788# Helper functions for the package writing classes 1788# Helper functions for the package writing classes
1789# 1789#
1790 1790
1791python package_mapping_rename_hook () { 1791def mapping_rename_hook(d):
1792 """ 1792 """
1793 Rewrite variables to account for package renaming in things 1793 Rewrite variables to account for package renaming in things
1794 like debian.bbclass or manual PKG variable name changes 1794 like debian.bbclass or manual PKG variable name changes
@@ -1799,6 +1799,4 @@ python package_mapping_rename_hook () {
1799 runtime_mapping_rename("RPROVIDES", d) 1799 runtime_mapping_rename("RPROVIDES", d)
1800 runtime_mapping_rename("RREPLACES", d) 1800 runtime_mapping_rename("RREPLACES", d)
1801 runtime_mapping_rename("RCONFLICTS", d) 1801 runtime_mapping_rename("RCONFLICTS", d)
1802}
1803 1802
1804EXPORT_FUNCTIONS mapping_rename_hook