[oe-commits] Stanislav Brabec : binconfig.bbclass: Search in installed root instead of S :

git version control git at git.openembedded.org
Wed Apr 20 20:04:58 UTC 2011


Module: openembedded.git
Branch: master
Commit: 035d0d6d05f3a5103e9175ce22dd80bec921d687
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=035d0d6d05f3a5103e9175ce22dd80bec921d687

Author: Stanislav Brabec <utx at penguin.cz>
Date:   Wed Apr 20 19:26:15 2011 +0000

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 <utx at penguin.cz>
Acked-by: Andreas Oberritter <obi at opendreambox.org>
Acked-by: Paul Menzel <paulepanter at users.sourceforge.net>
Acked-by: Enrico Scholz <enrico.scholz at sigma-chemnitz.de>

---

 classes/binconfig.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/classes/binconfig.bbclass b/classes/binconfig.bbclass
index b3b2236..3d2bf0f 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





More information about the Openembedded-commits mailing list