From c790192322c9c3ed98b13395d4980d88d394c3ff Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Fri, 24 Oct 2008 16:54:35 +0100 Subject: bitbake-dev: Make the task a parameter of the "tryBuild" command And switch the runqueue to use this rather than keeping it in the self.configuration.cmd variable --- bitbake-dev/lib/bb/runqueue.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bitbake-dev/lib/bb/runqueue.py') diff --git a/bitbake-dev/lib/bb/runqueue.py b/bitbake-dev/lib/bb/runqueue.py index 166720582..1c911ef0c 100644 --- a/bitbake-dev/lib/bb/runqueue.py +++ b/bitbake-dev/lib/bb/runqueue.py @@ -993,10 +993,9 @@ class RunQueue: os.setpgid(0, 0) newsi = os.open('/dev/null', os.O_RDWR) os.dup2(newsi, sys.stdin.fileno()) - self.cooker.configuration.cmd = taskname[3:] bb.data.setVar("__RUNQUEUE_DO_NOT_USE_EXTERNALLY", self, self.cooker.configuration.data) try: - self.cooker.tryBuild(fn) + self.cooker.tryBuild(fn, taskname[3:]) except bb.build.EventException: bb.msg.error(bb.msg.domain.Build, "Build of " + fn + " " + taskname + " failed") sys.exit(1) -- cgit v1.2.3