{% extends "coprs/detail.html" %} {% from "coprs/detail/_builds_forms.html" import copr_build_cancel_form, copr_build_repeat_form, copr_build_delete_form %} {% from "coprs/detail/_describe_source.html" import describe_source %} {% from "coprs/detail/_describe_failure.html" import describe_failure %} {% from "_helpers.html" import chroot_to_os_logo, build_state_text, build_state, copr_name %} {% block title %}Module {{ module.id }} in {{ copr_name(copr) }}{% endblock %} {% set selected_tab = "modules" %} {%block project_breadcrumb %}
It belongs to {{ module.ownername }}/{{ module.projectname }}
{% else %}{{ no_packages | format('filter')}}
{% endfor %}{{ no_packages | format('API')}}
{% endfor %}No profiles in module
{% endfor %}To start working with modules, you first need to get modularity-enabled packages from @copr/copr
:
dnf install dnf-plugins-core # provides basic `dnf copr` command to enable COPR repos
dnf copr enable @copr/copr # contains necessary packages to work with modules
dnf upgrade dnf-plugins-core # gives `dnf copr` command with modularity support
dnf install python3-fm-dnf-plugin # provides `dnf module` command compatible with modulemd-1.0.2
For dnf module
documentation, see its project page.
Now to install the built module, please run following commands as root:
# Add module repofile to your system, that is /etc/fm.modules.d
dnf copr enable {{ module.copr.full_name }}
# Install the module
dnf module enable {{ module.name }}
You may want to use this modulemd as a template and then submit it via Copr API or copr-cli
to be build.