]> code.ossystems Code Review - openembedded-core.git/commitdiff
packaged-staging.bbclass: Remove hardcoded paths in binfiles for target packages
authorJoshua Lock <josh@linux.intel.com>
Wed, 7 Apr 2010 13:13:03 +0000 (14:13 +0100)
committerJoshua Lock <josh@linux.intel.com>
Thu, 8 Apr 2010 15:41:24 +0000 (16:41 +0100)
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@linux.intel.com>
meta/classes/packaged-staging.bbclass

index 1850297b4b45b55315146f55d3f9d5aa16d5e1eb..0c3feb8dd9eb73befbc1a05b28ef14f638246aa4 100644 (file)
@@ -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 \