metadata: Stop crashing for non-bootable products
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
a7dc4e80a7
commit
6e55cc6419
@ -281,7 +281,7 @@ def write_tree_info(compose, arch, variant, timestamp=None):
|
||||
# clone all but 'general' sections from buildinstall .treeinfo
|
||||
|
||||
bi_dir = compose.paths.work.buildinstall_dir(arch)
|
||||
if compose.conf['buildinstall_method'] == 'lorax':
|
||||
if compose.conf.get('buildinstall_method') == 'lorax':
|
||||
# The .treeinfo file produced by lorax is nested in variant
|
||||
# subdirectory. Legacy buildinstall runs once per arch, so there is
|
||||
# only one file.
|
||||
|
Loading…
Reference in New Issue
Block a user