aboutsummaryrefslogtreecommitdiffstats
path: root/classes/base.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2006-10-20 16:09:20 +0000
committerRichard Purdie <rpurdie@rpsys.net>2006-10-20 16:09:20 +0000
commita8be7e0efd18848795c0253a7e99128e028a3768 (patch)
tree440bcd3e2066a27cd4fa0110e7cb7398a55b6050 /classes/base.bbclass
parentaac32c2eee74418bac9ceb763eeab6232cad130b (diff)
downloadopenembedded-a8be7e0efd18848795c0253a7e99128e028a3768.tar.gz
package.bbclass: Split into two tasks, one which prepares the packages and then package_write which actually generates the packages. The two stage approach allows us to avoid circular dependency issues from classes like debian.bbclass. As the data being emitted into pkgdata/ changed, you need to either wipe tmp or rerun the do_package tasks (wipe the do_package stamps). Everything will repackage anyway due to the new task.
Diffstat (limited to 'classes/base.bbclass')
-rw-r--r--classes/base.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/base.bbclass b/classes/base.bbclass
index 6c158e9ef7..7022236ca3 100644
--- a/classes/base.bbclass
+++ b/classes/base.bbclass
@@ -575,7 +575,7 @@ do_populate_staging[dirs] = "${STAGING_DIR}/${TARGET_SYS}/bin ${STAGING_DIR}/${T
${STAGING_DATADIR} \
${S} ${B}"
-addtask populate_staging after do_package
+addtask populate_staging after do_package_write
python do_populate_staging () {
bb.build.exec_func('do_stage', d)