# How to build a module? ### Mock + Copr Miroslav Suchý [miroslav.suchy.cz/presentations/devconf18/copr](http://miroslav.suchy.cz/presentations/devconf18/copr)
# Modularity?
# DNF https://copr.fedorainfracloud.org/coprs/mhatina/dnf-modularity-stable/
# Mock standard way: config_opts['chroot_setup_cmd'] = 'install @buildsys-build' config_opts['chroot_additional_packages'] = ''
# Mock with modules since (1.4.2) config_opts['module_enable'] = ['module1', 'module2'] config_opts['module_install'] = ['module1/profile', 'module2/profile']
# Order 1. module_enable 2. module_install 3. chroot_setup_cmd 4. chroot_additional_packages
# custom-1-x86_64 but you can build on top of any other as well
# Copr Create project first. Then create module.
Module is just another repo with additional metadata.
Demo
# Future dnf copr enable foo/bar for modules
# Questions? Feedback: http://sched.co/DJYO