[iso] Fix check on failable ISO
When ISO is marked as failable and check fails, the compose would still be aborted. This patch fixes that Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
1a4e1b211c
commit
b4765459f3
@ -268,6 +268,7 @@ class CreateIsoThread(WorkerThread):
|
|||||||
img.bootable = cmd["bootable"]
|
img.bootable = cmd["bootable"]
|
||||||
img.subvariant = variant.uid
|
img.subvariant = variant.uid
|
||||||
img.implant_md5 = iso.get_implanted_md5(cmd["iso_path"])
|
img.implant_md5 = iso.get_implanted_md5(cmd["iso_path"])
|
||||||
|
setattr(img, 'can_fail', compose.can_fail(variant, arch, 'iso'))
|
||||||
setattr(img, 'deliverable', 'iso')
|
setattr(img, 'deliverable', 'iso')
|
||||||
try:
|
try:
|
||||||
img.volume_id = iso.get_volume_id(cmd["iso_path"])
|
img.volume_id = iso.get_volume_id(cmd["iso_path"])
|
||||||
|
Loading…
Reference in New Issue
Block a user