Use dnf5-compatible "group install" command
* yum knows only "yum groupinstall" * dnf < 5 knows both * dnf-5 only "dnf5 group install" From RHEL5 version of yum, @group syntax is supported, so we can replace all groupinstall commands with "install @group". Related: https://pagure.io/koji/issue/3971
This commit is contained in:
parent
dd128f8617
commit
4ad92b5cd6
5 changed files with 5 additions and 5 deletions
|
|
@ -1806,7 +1806,7 @@ def genMockConfig(name, arch, managed=False, repoid=None, tag_name=None, **opts)
|
|||
'target_arch': opts.get('target_arch', arch),
|
||||
'chroothome': '/builddir',
|
||||
# Use the group data rather than a generated rpm
|
||||
'chroot_setup_cmd': 'groupinstall %s' % opts.get('install_group', 'build'),
|
||||
'chroot_setup_cmd': 'install @%s' % opts.get('install_group', 'build'),
|
||||
# don't encourage network access from the chroot
|
||||
'rpmbuild_networking': opts.get('use_host_resolv', False),
|
||||
'use_host_resolv': opts.get('use_host_resolv', False),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue