From a1384b60f4e5793051856e22122ab18f5f6cc948 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubom=C3=ADr=20Sedl=C3=A1=C5=99?= Date: Wed, 6 Jan 2016 13:35:01 +0100 Subject: [PATCH] Fix missing checksums in .treeinfo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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ář --- pungi/metadata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pungi/metadata.py b/pungi/metadata.py index 45e9e112..f037708b 100644 --- a/pungi/metadata.py +++ b/pungi/metadata.py @@ -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)