summaryrefslogtreecommitdiffstats
path: root/meta/classes/packaged-staging.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-04-23 08:43:53 +0000
committerRichard Purdie <richard@openedhand.com>2008-04-23 08:43:53 +0000
commitc7005b754083ba6a30994967b935ed9a764601b4 (patch)
treee43d1b4a940353ce6089d772815124d57b0b9c4f /meta/classes/packaged-staging.bbclass
parent1cea70a354f155c2e802d1cd1b8d3218c099695b (diff)
downloadpoky-c7005b754083ba6a30994967b935ed9a764601b4.tar.gz
packaged-staging: Make sure the task is part of the default tasks chain
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4314 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes/packaged-staging.bbclass')
-rw-r--r--meta/classes/packaged-staging.bbclass12
1 files changed, 11 insertions, 1 deletions
diff --git a/meta/classes/packaged-staging.bbclass b/meta/classes/packaged-staging.bbclass
index bb166cb2f5..1df2a2c9f0 100644
--- a/meta/classes/packaged-staging.bbclass
+++ b/meta/classes/packaged-staging.bbclass
@@ -201,7 +201,7 @@ populate_staging_preamble () {
201populate_staging_postamble () { 201populate_staging_postamble () {
202 if [ "$PSTAGING_ACTIVE" = "1" ]; then 202 if [ "$PSTAGING_ACTIVE" = "1" ]; then
203 # list the packages currently installed in staging 203 # list the packages currently installed in staging
204 ${PSTAGE_LIST_CMD} | awk '{print $1}' > ${DEPLOY_DIR_PSTAGE}/installed-list 204 # ${PSTAGE_LIST_CMD} | awk '{print $1}' > ${DEPLOY_DIR_PSTAGE}/installed-list
205 205
206 set +e 206 set +e
207 stage-manager -p ${STAGING_DIR} -c ${DEPLOY_DIR_PSTAGE}/stamp-cache-staging -u -d ${PSTAGE_TMPDIR_STAGE}/staging 207 stage-manager -p ${STAGING_DIR} -c ${DEPLOY_DIR_PSTAGE}/stamp-cache-staging -u -d ${PSTAGE_TMPDIR_STAGE}/staging
@@ -320,3 +320,13 @@ python do_package_stage () {
320# Note an assumption here is that do_deploy runs before do_package_write/do_populate_staging 320# Note an assumption here is that do_deploy runs before do_package_write/do_populate_staging
321# 321#
322addtask package_stage after do_package_write do_populate_staging before do_build 322addtask package_stage after do_package_write do_populate_staging before do_build
323
324do_package_stage_all () {
325 :
326}
327do_package_stage_all[recrdeptask] = "do_package_stage"
328addtask package_stage_all after do_package_stage before do_build
329
330
331
332