diff options
| author | Robert Bradford <rob@openedhand.com> | 2008-10-20 11:35:49 +0000 |
|---|---|---|
| committer | Robert Bradford <rob@openedhand.com> | 2008-10-20 11:35:49 +0000 |
| commit | f105cdc88a735b6e0a0b1b0c5a0bd3931a5ad9c3 (patch) | |
| tree | 28c6a3b1602603b31bba81b085dc00330e47faab /bitbake-dev/lib/bb/cooker.py | |
| parent | a8644924ab92b090546df1869714b57ba91fcd8b (diff) | |
| download | poky-f105cdc88a735b6e0a0b1b0c5a0bd3931a5ad9c3.tar.gz | |
bitbake-dev: Remove the Pkg{Started, Failed, Succeeded} events and their handling in the UI
These events are superfluous now that BB operates on a task level granularity.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5541 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'bitbake-dev/lib/bb/cooker.py')
| -rw-r--r-- | bitbake-dev/lib/bb/cooker.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/bitbake-dev/lib/bb/cooker.py b/bitbake-dev/lib/bb/cooker.py index 6d04d38080..e3bb56d376 100644 --- a/bitbake-dev/lib/bb/cooker.py +++ b/bitbake-dev/lib/bb/cooker.py | |||
| @@ -183,20 +183,16 @@ class BBCooker: | |||
| 183 | """ | 183 | """ |
| 184 | Build one task of a package, optionally build following task depends | 184 | Build one task of a package, optionally build following task depends |
| 185 | """ | 185 | """ |
| 186 | bb.event.fire(bb.event.PkgStarted(item, the_data)) | ||
| 187 | try: | 186 | try: |
| 188 | if not self.configuration.dry_run: | 187 | if not self.configuration.dry_run: |
| 189 | bb.build.exec_task('do_%s' % task, the_data) | 188 | bb.build.exec_task('do_%s' % task, the_data) |
| 190 | bb.event.fire(bb.event.PkgSucceeded(item, the_data)) | ||
| 191 | return True | 189 | return True |
| 192 | except bb.build.FuncFailed: | 190 | except bb.build.FuncFailed: |
| 193 | bb.msg.error(bb.msg.domain.Build, "task stack execution failed") | 191 | bb.msg.error(bb.msg.domain.Build, "task stack execution failed") |
| 194 | bb.event.fire(bb.event.PkgFailed(item, the_data)) | ||
| 195 | raise | 192 | raise |
| 196 | except bb.build.EventException, e: | 193 | except bb.build.EventException, e: |
| 197 | event = e.args[1] | 194 | event = e.args[1] |
| 198 | bb.msg.error(bb.msg.domain.Build, "%s event exception, aborting" % bb.event.getName(event)) | 195 | bb.msg.error(bb.msg.domain.Build, "%s event exception, aborting" % bb.event.getName(event)) |
| 199 | bb.event.fire(bb.event.PkgFailed(item, the_data)) | ||
| 200 | raise | 196 | raise |
| 201 | 197 | ||
| 202 | def tryBuild(self, fn): | 198 | def tryBuild(self, fn): |
