image-info: do not include inputhash in the report
The algorithm from calculating changed in osbuild 24, thus breaking the testsuite. As the the inputhash is merely a implementation detail, there's no need to test it in the image tests. Nevertheless, the inputhash is also tested in the osbuild's testsuite. Signed-off-by: Ondřej Budai <ondrej@budai.cz>
This commit is contained in:
parent
2b41190cf3
commit
6456fbe6a5
5 changed files with 16 additions and 27 deletions
|
|
@ -499,9 +499,6 @@ def append_ostree_repo(report, repo):
|
|||
resolved = {r: ostree("rev-parse", r).stdout.strip() for r in refs}
|
||||
commit = resolved[refs[0]]
|
||||
|
||||
refs = {r: {"inputhash": ostree("show", "--print-metadata-key=rpmostree.inputhash", resolved[r]).stdout.strip("'\n")} for r in refs}
|
||||
report["ostree"]["refs"] = refs
|
||||
|
||||
with tempfile.TemporaryDirectory(dir="/var/tmp") as tmpdir:
|
||||
tree = os.path.join(tmpdir, "tree")
|
||||
ostree("checkout", "--force-copy", commit, tree)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue