diff options
author | Koen Kooi <koen@openembedded.org> | 2006-07-20 08:00:57 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2006-07-20 08:00:57 +0000 |
commit | 903d317fdda7387afe53c0dd11979ef8e3717c1d (patch) | |
tree | 73cfa4442e3fb852a1469928fbc291dd48d99adf | |
parent | 5b0c3d78c6d89e80f2b6c5f998f579dfe6c44e57 (diff) | |
download | openembedded-903d317fdda7387afe53c0dd11979ef8e3717c1d.tar.gz |
classes/packaged-staging.bbclass: if a spawn file is found, use it
-rw-r--r-- | classes/packaged-staging.bbclass | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/classes/packaged-staging.bbclass b/classes/packaged-staging.bbclass index ab12664000..496cae6220 100644 --- a/classes/packaged-staging.bbclass +++ b/classes/packaged-staging.bbclass @@ -37,13 +37,21 @@ do_clean_append() { do_stage_prepend() { #move away the staging dir to avoid relocation troubles +if [ -e ${STAGING_DIR}/${P}.spawn ]; then + oenote "List of spawned packages found: ${P}.spawn" + for spawn in `cat ${STAGING_DIR}/${P}.spawn | grep -v ${PN}-locale` + do ${PSTAGE_INSTALL_CMD} ${STAGING_DIR} ${DEPLOY_DIR_IPK}/${spawn}_${PV}-${PR}_${PACKAGE_ARCH}.ipk + done + exit 0 +fi + + if [ -e ${DEPLOY_DIR_PSTAGE}/${PSTAGE_PKGNAME} ]; then oenote "Staging stuff already packaged, using that instead" ${PSTAGE_INSTALL_CMD} ${STAGING_DIR} ${DEPLOY_DIR_PSTAGE}/${PSTAGE_PKGNAME} exit 0 fi - mv ${STAGING_DIR} ${TMPDIR}/pstage mkdir -p ${STAGING_BINDIR} |