#2483 Add support for configuring modules for build tags sourced by external repos
Closed: Fixed 2 years ago by tkopecek. Opened 3 years ago by ngompa.

With Mock 2.4, it has now become possible to set an array of commands for configuring the modules active in a buildroot.

This is done by configuring the module_setup_commands option with a list of disable/enable commands accordingly, like this example for a mock config:

config_opts['module_setup_commands'] = [
        ('disable', 'php'),
        ('enable',  'php:7.4'),
]

These will be applied early so that build dependencies will be satisfied by the modular package set rather than some weird mix that is unreproducible or unworkable.

This is foundational for making EPEL properly functional for building against RHEL modules, and many third party package builders using Koji will need it to successfully build things properly.


I came here looking for this very feature. No progress, I take it?

Metadata Update from @tkopecek:
- Custom field Size adjusted to None
- Issue set to the milestone: 1.26

3 years ago

Nope, I've added it to roadmap.

@alexi Are you willing to do some work on this? It slipped to next release again due to lack of time :-(

Metadata Update from @tkopecek:
- Issue set to the milestone: 1.27 (was: 1.26)

2 years ago

Metadata Update from @julian8628:
- Issue set to the milestone: 1.28 (was: 1.27)

2 years ago

Metadata Update from @jcupova:
- Issue tagged with: testing-ready

2 years ago

Metadata Update from @mfilip:
- Issue tagged with: testing-done

2 years ago

Login to comment on this ticket.

Metadata
Related Pull Requests
  • #3039 Merged 2 years ago