diff options
author | Richard Purdie <richard@openedhand.com> | 2008-04-23 08:43:53 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-04-23 08:43:53 +0000 |
commit | c7005b754083ba6a30994967b935ed9a764601b4 (patch) | |
tree | e43d1b4a940353ce6089d772815124d57b0b9c4f | |
parent | 1cea70a354f155c2e802d1cd1b8d3218c099695b (diff) | |
download | poky-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
-rw-r--r-- | meta/classes/packaged-staging.bbclass | 12 |
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 () { | |||
201 | populate_staging_postamble () { | 201 | populate_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 | # |
322 | addtask package_stage after do_package_write do_populate_staging before do_build | 322 | addtask package_stage after do_package_write do_populate_staging before do_build |
323 | |||
324 | do_package_stage_all () { | ||
325 | : | ||
326 | } | ||
327 | do_package_stage_all[recrdeptask] = "do_package_stage" | ||
328 | addtask package_stage_all after do_package_stage before do_build | ||
329 | |||
330 | |||
331 | |||
332 | |||