diff options
Diffstat (limited to 'bitbake-dev/lib/bb/runqueue.py')
-rw-r--r-- | bitbake-dev/lib/bb/runqueue.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bitbake-dev/lib/bb/runqueue.py b/bitbake-dev/lib/bb/runqueue.py index 1667205829..1c911ef0c8 100644 --- a/bitbake-dev/lib/bb/runqueue.py +++ b/bitbake-dev/lib/bb/runqueue.py | |||
@@ -993,10 +993,9 @@ class RunQueue: | |||
993 | os.setpgid(0, 0) | 993 | os.setpgid(0, 0) |
994 | newsi = os.open('/dev/null', os.O_RDWR) | 994 | newsi = os.open('/dev/null', os.O_RDWR) |
995 | os.dup2(newsi, sys.stdin.fileno()) | 995 | os.dup2(newsi, sys.stdin.fileno()) |
996 | self.cooker.configuration.cmd = taskname[3:] | ||
997 | bb.data.setVar("__RUNQUEUE_DO_NOT_USE_EXTERNALLY", self, self.cooker.configuration.data) | 996 | bb.data.setVar("__RUNQUEUE_DO_NOT_USE_EXTERNALLY", self, self.cooker.configuration.data) |
998 | try: | 997 | try: |
999 | self.cooker.tryBuild(fn) | 998 | self.cooker.tryBuild(fn, taskname[3:]) |
1000 | except bb.build.EventException: | 999 | except bb.build.EventException: |
1001 | bb.msg.error(bb.msg.domain.Build, "Build of " + fn + " " + taskname + " failed") | 1000 | bb.msg.error(bb.msg.domain.Build, "Build of " + fn + " " + taskname + " failed") |
1002 | sys.exit(1) | 1001 | sys.exit(1) |