From: Stanislav Brabec Date: Wed, 20 Apr 2011 19:26:15 +0000 (+0000) Subject: binconfig.bbclass: Search in installed root instead of S: X-Git-Tag: sz_173~66 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=347d1a6be7f56909bb1bc03fb7edcec0fd6db14e;p=openembedded.git binconfig.bbclass: Search in installed root instead of S: * It is more consistent. * Fixes subtle binconfig breakages: * binconfig were populated with a different name that upstream intended * populated binconfig files that were not intended to be populated * See http://lists.linuxtogo.org/pipermail/openembedded-devel/2011-April/031972.html Signed-off-by: Stanislav Brabec Acked-by: Andreas Oberritter Acked-by: Paul Menzel Acked-by: Enrico Scholz --- diff --git a/classes/binconfig.bbclass b/classes/binconfig.bbclass index b3b2236709..3d2bf0f457 100644 --- a/classes/binconfig.bbclass +++ b/classes/binconfig.bbclass @@ -49,7 +49,7 @@ binconfig_package_preprocess () { SYSROOT_PREPROCESS_FUNCS += "binconfig_sysroot_preprocess" binconfig_sysroot_preprocess () { - for config in `find ${S} -name '${BINCONFIG_GLOB}'`; do + for config in `find ${D} -name '${BINCONFIG_GLOB}'`; do configname=`basename $config` install -d ${SYSROOT_DESTDIR}${STAGING_BINDIR_CROSS} cat $config | sed ${@get_binconfig_mangle(d)} > ${SYSROOT_DESTDIR}${STAGING_BINDIR_CROSS}/$configname