[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 07:44:00 UTC 2010


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

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