From 0d32c62379e480f479933cfb7fd581ec49b7b413 Mon Sep 17 00:00:00 2001 From: captain Date: Fri, 25 Nov 2016 19:54:51 +0100 Subject: [PATCH] replace The old style bb.data.getVar API has long since been deprecated in favour of d.getVar --- openplugins-replace-pli.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openplugins-replace-pli.inc b/openplugins-replace-pli.inc index 75a2174..5fb913b 100644 --- a/openplugins-replace-pli.inc +++ b/openplugins-replace-pli.inc @@ -1,7 +1,7 @@ # Open version should replace old PLi version of the same plugin. This # include file arranges that the Open version is newer, and that the # old PLi plugin is removed on install. -OLDPKG = "${@bb.data.getVar('PN',d,1).replace('-extensions-','-pli-')}" +OLDPKG = "${@d.getVar('PN',True).replace('-extensions-','-pli-')}" RREPLACES_${PN} = "${OLDPKG}" RCONFLICTS_${PN} = "${OLDPKG}"