update arch manifest.add config order for productmd api call
This commit is contained in:
parent
654ac5fbaa
commit
8d50f89e6e
@ -62,7 +62,7 @@ def link_files(compose, arch, variant, pkg_map, pkg_sets, manifest, srpm_map={})
|
|||||||
# update rpm manifest
|
# update rpm manifest
|
||||||
pkg_obj = pkg_set[pkg["path"]]
|
pkg_obj = pkg_set[pkg["path"]]
|
||||||
nevra = pkg_obj.nevra
|
nevra = pkg_obj.nevra
|
||||||
manifest.add("src", variant.uid, nevra, path=dst_relpath, sigkey=pkg_obj.signature, category="source")
|
manifest.add(variant.uid, arch, nevra, path=dst_relpath, sigkey=pkg_obj.signature, category="source")
|
||||||
|
|
||||||
# update srpm_map
|
# update srpm_map
|
||||||
srpm_map.setdefault(pkg_obj.file_name, nevra)
|
srpm_map.setdefault(pkg_obj.file_name, nevra)
|
||||||
@ -80,7 +80,7 @@ def link_files(compose, arch, variant, pkg_map, pkg_sets, manifest, srpm_map={})
|
|||||||
pkg_obj = pkg_set[pkg["path"]]
|
pkg_obj = pkg_set[pkg["path"]]
|
||||||
nevra = pkg_obj.nevra
|
nevra = pkg_obj.nevra
|
||||||
src_nevra = _get_src_nevra(compose, pkg_obj, srpm_map)
|
src_nevra = _get_src_nevra(compose, pkg_obj, srpm_map)
|
||||||
manifest.add(arch, variant.uid, nevra, path=dst_relpath, sigkey=pkg_obj.signature, category="binary", srpm_nevra=src_nevra)
|
manifest.add(variant.uid, arch, nevra, path=dst_relpath, sigkey=pkg_obj.signature, category="binary", srpm_nevra=src_nevra)
|
||||||
|
|
||||||
packages_dir = compose.paths.compose.debug_packages(arch, variant)
|
packages_dir = compose.paths.compose.debug_packages(arch, variant)
|
||||||
packages_dir_relpath = compose.paths.compose.debug_packages(arch, variant, relative=True)
|
packages_dir_relpath = compose.paths.compose.debug_packages(arch, variant, relative=True)
|
||||||
@ -95,7 +95,7 @@ def link_files(compose, arch, variant, pkg_map, pkg_sets, manifest, srpm_map={})
|
|||||||
pkg_obj = pkg_set[pkg["path"]]
|
pkg_obj = pkg_set[pkg["path"]]
|
||||||
nevra = pkg_obj.nevra
|
nevra = pkg_obj.nevra
|
||||||
src_nevra = _get_src_nevra(compose, pkg_obj, srpm_map)
|
src_nevra = _get_src_nevra(compose, pkg_obj, srpm_map)
|
||||||
manifest.add(arch, variant.uid, nevra, path=dst_relpath, sigkey=pkg_obj.signature, category="debug", srpm_nevra=src_nevra)
|
manifest.add(variant.uid, arch, nevra, path=dst_relpath, sigkey=pkg_obj.signature, category="debug", srpm_nevra=src_nevra)
|
||||||
|
|
||||||
pool.start()
|
pool.start()
|
||||||
pool.stop()
|
pool.stop()
|
||||||
|
Loading…
Reference in New Issue
Block a user