[oe-commits] Joshua Lock : packaged-staging.bbclass: Remove hardcoded paths in binconfig files for target packages

git version control git at git.openembedded.org
Wed May 5 11:10:26 UTC 2010


Module: openembedded.git
Branch: rpurdie/work-in-progress
Commit: 717c94fd1e0a451fc089d92c2ea7887569506f6f
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=717c94fd1e0a451fc089d92c2ea7887569506f6f

Author: Joshua Lock <josh at linux.intel.com>
Date:   Wed Apr  7 14:15:53 2010 +0100

packaged-staging.bbclass: Remove hardcoded paths in binconfig files for target packages

Amend the default PSTAGE_SCAN_CMD, as used when scanning target packages, to
include binconfig scripts in the results and remove their hardcoded paths.

Signed-off-by: Joshua Lock <josh at linux.intel.com>

---

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

diff --git a/classes/packaged-staging.bbclass b/classes/packaged-staging.bbclass
index 804b336..56f9dc0 100644
--- a/classes/packaged-staging.bbclass
+++ b/classes/packaged-staging.bbclass
@@ -19,7 +19,7 @@ PSTAGE_PKGPN      = "${@bb.data.expand('staging-${PN}-${MULTIMACH_ARCH}${TARGET_
 PSTAGE_PKGNAME    = "${PSTAGE_PKGPN}_${PSTAGE_PKGVERSION}_${PSTAGE_PKGARCH}.ipk"
 PSTAGE_PKG        = "${PSTAGE_DIR}/${PSTAGE_PKGPATH}/${PSTAGE_PKGNAME}"
 PSTAGE_WORKDIR   = "${TMPDIR}/pstage"
-PSTAGE_SCAN_CMD ?= "find ${PSTAGE_TMPDIR_STAGE} -name "*.la" -type f"
+PSTAGE_SCAN_CMD ?= "find ${PSTAGE_TMPDIR_STAGE} \( -name "*.la" -o -name "*-config"\) -type f"
 
 PSTAGE_NATIVEDEPENDS = "\
     shasum-native \





More information about the Openembedded-commits mailing list