From cb7a3f997d7278eb6e31ea79ad933a7ab1717977 Mon Sep 17 00:00:00 2001 From: Aníbal Limón Date: Thu, 11 Feb 2016 16:08:06 -0600 Subject: nativesdk-buildtools-perl-dummy.bb: Fix variable expansion in python code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- meta/recipes-core/meta/nativesdk-buildtools-perl-dummy.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'meta/recipes-core/meta/nativesdk-buildtools-perl-dummy.bb') 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}') } -- cgit 1.2.3-korg