1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-30 00:20:08 +00:00

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
This commit is contained in:
Rob Bradford
2008-10-24 16:54:35 +01:00
parent 2684070ac6
commit c790192322
2 changed files with 3 additions and 4 deletions
+1 -2
View File
@@ -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)