Fix missing checksums in .treeinfo
The images listed in the file are obtained from .treeinfo files created during buildinstall phase. However, the files are not stored directly in buildinstall dir `work/$arch/buildinstall/` but in variant subdirectory `work/$arch/buildinstall/$variant`. Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
770a81b76c
commit
a1384b60f4
@ -273,7 +273,7 @@ def write_tree_info(compose, arch, variant, timestamp=None):
|
||||
os_tree = compose.paths.compose.os_tree(arch, variant)
|
||||
|
||||
# clone all but 'general' sections from buildinstall .treeinfo
|
||||
bi_treeinfo = os.path.join(compose.paths.work.buildinstall_dir(arch), ".treeinfo")
|
||||
bi_treeinfo = os.path.join(compose.paths.work.buildinstall_dir(arch), variant.uid, ".treeinfo")
|
||||
if os.path.exists(bi_treeinfo):
|
||||
bi_ti = LoraxTreeInfo()
|
||||
bi_ti.load(bi_treeinfo)
|
||||
|
Loading…
Reference in New Issue
Block a user