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: 2016-4~919 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=cb7a3f997d7278eb6e31ea79ad933a7ab1717977;p=openembedded-core.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 9041734898..90784a9e27 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}') }