Merge #320 images.json: Move src images under binary arches.

This commit is contained in:
Dennis Gilmore 2016-06-06 11:56:11 +00:00
commit 5b5f9b7460

View File

@ -271,7 +271,11 @@ class CreateIsoThread(WorkerThread):
img.volume_id = iso.get_volume_id(cmd["iso_path"]) img.volume_id = iso.get_volume_id(cmd["iso_path"])
except RuntimeError: except RuntimeError:
pass pass
compose.im.add(variant.uid, arch, img) if arch == "src":
for variant_arch in variant.arches:
compose.im.add(variant.uid, variant_arch, img)
else:
compose.im.add(variant.uid, arch, img)
# TODO: supported_iso_bit # TODO: supported_iso_bit
# add: boot.iso # add: boot.iso