providers: Use new override syntax when handling pn- "override"
PATCH 1/1 providers: Use new override syntax when handling pn- "override"
Make versionVariableMatch() support pn-foo overrides using the new override syntax.
Signed-off-by Peter Kjellerstedt <[email protected]>
--- bitbake/lib/bb/providers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
bitbake/lib/bb/providers.py +1 -1
@@ -94,7 +94,7 @@ def versionVariableMatch(cfgData, keyword, pn): # pn can contain '_', e.g. gcc-cross-x86_64 and an override cannot # hence we do this manually rather than use OVERRIDES - ver = cfgData.getVar("%s_VERSION_pn-%s" % (keyword, pn)) + ver = cfgData.getVar("%s_VERSION:pn-%s" % (keyword, pn)) if not ver: ver = cfgData.getVar("%s_VERSION_%s" % (keyword, pn)) if not ver: