we need to ensure that we send all the tasks to koji on the correct arch
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
This commit is contained in:
parent
4a96e8e313
commit
4b374278e4
@ -86,9 +86,9 @@ class BuildinstallPhase(PhaseBase):
|
||||
noupgrade = not self.compose.conf.get("buildinstall_upgrade_image", False)
|
||||
buildinstall_method = self.compose.conf["buildinstall_method"]
|
||||
|
||||
commands = []
|
||||
|
||||
for arch in self.compose.get_arches():
|
||||
commands = []
|
||||
|
||||
repo_baseurl = self.compose.paths.work.arch_repo(arch)
|
||||
output_dir = self.compose.paths.work.buildinstall_dir(arch)
|
||||
volid = get_volid(self.compose, arch)
|
||||
@ -121,9 +121,9 @@ class BuildinstallPhase(PhaseBase):
|
||||
else:
|
||||
raise ValueError("Unsupported buildinstall method: %s" % buildinstall_method)
|
||||
|
||||
for cmd in commands:
|
||||
self.pool.add(BuildinstallThread(self.pool))
|
||||
self.pool.queue_put((self.compose, arch, cmd))
|
||||
for cmd in commands:
|
||||
self.pool.add(BuildinstallThread(self.pool))
|
||||
self.pool.queue_put((self.compose, arch, cmd))
|
||||
|
||||
self.pool.start()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user