Bug 1572597 - RFE: mock --enable-module MODULE:STREAM feature
Summary: RFE: mock --enable-module MODULE:STREAM feature
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: mock
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Suchý
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1572596
TreeView+ depends on / blocked
 
Reported: 2018-04-27 11:46 UTC by Pavel Raiskup
Modified: 2018-06-07 07:26 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-06-07 07:26:12 UTC
Type: Bug


Attachments (Terms of Use)

Description Pavel Raiskup 2018-04-27 11:46:53 UTC
Consider I want to build package against specific module stream, I'd like to
be able to specify this by mock's option.

Comment 1 Miroslav Suchý 2018-06-07 07:26:12 UTC
Well, you have:

## This will only work with DNF and when repo is configured with modules=1 for repo in dnf.conf.
## This is executed just before 'chroot_setup_cmd'.
# config_opts['module_enable'] = ['list', 'of', 'modules']                                                                                       
# config_opts['module_install'] = ['module1/profile', 'module2/profile']


I do not think this need special command line. Especially when we have `--config-opts=KEY=VALUE`.


Note You need to log in before you can comment on or make changes to this bug.