From: Aníbal Limón Date: Thu, 11 Feb 2016 22:08:06 +0000 (-0600) Subject: nativesdk-buildtools-perl-dummy.bb: Fix variable expansion in python code X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~27029 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb7a3f997d7278eb6e31ea79ad933a7ab1717977;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git nativesdk-buildtools-perl-dummy.bb: Fix variable expansion in python code 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 Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-core/meta/nativesdk-buildtools-perl-dummy.bb b/meta/recipes-core/meta/nativesdk-buildtools-perl-dummy.bb index 9041734898e..90784a9e27c 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}'), '${PERLPACKAGES}') + d.appendVar(d.expand('RCONFLICTS_${PN}'), '${PERLPACKAGES}') }