Skip to contentSkip to conversation

Disable runtime mapping of RPROVIDES/RCONFLICTS/RREPLACES

PATCH New Richard Purdie 1 participant 1 message Aug 19, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Disable runtime mapping of RPROVIDES/RCONFLICTS/RREPLACES

It doesn't really make sense to run the remapping code on these variables. If specific renaming is needed, it should be applied manually. This means that the debian RPROVIDES of the original package name can be preserved. There was also a bug report about this on the OE-Core mailing list recently where someone else ran into this problem too.

meta/classes/package.bbclass +0 -3
index 6a552d9..88793fa 100644
@@ -2029,7 +2029,4 @@ def mapping_rename_hook(d):
     runtime_mapping_rename("RDEPENDS", pkg, d)
     runtime_mapping_rename("RRECOMMENDS", pkg, d)
     runtime_mapping_rename("RSUGGESTS", pkg, d)
-    runtime_mapping_rename("RPROVIDES", pkg, d)
-    runtime_mapping_rename("RREPLACES", pkg, d)
-    runtime_mapping_rename("RCONFLICTS", pkg, d)