[OE-core] [PATCH 2/2] nativesdk-buildtools-perl-dummy.bb: Fix variable expansion in python code
Aníbal Limón
anibal.limon at linux.intel.com
Thu Feb 11 21:45:02 UTC 2016
Since python expansion of bb data variables is disable in order to
provide a standard interface usage for expand variables this variables
aren't expanded now so change to call d.expand('${VAR}').
This API expansion change was causing to install perl in nativesdk.
Signed-off-by: Aníbal Limón <anibal.limon at linux.intel.com>
---
meta/recipes-core/meta/nativesdk-buildtools-perl-dummy.bb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-core/meta/nativesdk-buildtools-perl-dummy.bb b/meta/recipes-core/meta/nativesdk-buildtools-perl-dummy.bb
index 9041734..9058dad 100644
--- a/meta/recipes-core/meta/nativesdk-buildtools-perl-dummy.bb
+++ b/meta/recipes-core/meta/nativesdk-buildtools-perl-dummy.bb
@@ -20,7 +20,7 @@ PERLPACKAGES = "nativesdk-perl \
ALLOW_EMPTY_${PN} = "1"
python populate_packages_prepend() {
- d.appendVar('RPROVIDES_${PN}', '${PERLPACKAGES}')
- d.appendVar('RCONFLICTS_${PN}', '${PERLPACKAGES}')
+ d.appendVar(d.expand('RPROVIDES_${PN}'), d.expand('${PERLPACKAGES}'))
+ d.appendVar(d.expand('RCONFLICTS_${PN}'), d.expand('${PERLPACKAGES}'))
}
--
2.1.4
More information about the Openembedded-core
mailing list