createrepo: Stop including modulemd in debug repos
Debug packages are usually installed by exact NVR, and having two repos providing the same module (but with different packages) is confusing for the tooling. Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
6c14236562
commit
d29e56c7d8
@ -212,7 +212,7 @@ def create_variant_repo(compose, arch, variant, pkg_type, modules_metadata=None)
|
|||||||
shutil.copy2(product_id_path, os.path.join(repo_dir, "repodata", "productid"))
|
shutil.copy2(product_id_path, os.path.join(repo_dir, "repodata", "productid"))
|
||||||
|
|
||||||
# call modifyrepo to inject modulemd if needed
|
# call modifyrepo to inject modulemd if needed
|
||||||
if arch in variant.arch_mmds and Modulemd is not None:
|
if pkg_type == "rpm" and arch in variant.arch_mmds and Modulemd is not None:
|
||||||
modules = []
|
modules = []
|
||||||
metadata = []
|
metadata = []
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user