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
|
|
@ -38,7 +38,7 @@ class TestMockConfig(utils.CliTestCase):
|
|||
}
|
||||
self.mock_output = """# Auto-generated by the Koji build system
|
||||
|
||||
config_opts['chroot_setup_cmd'] = 'groupinstall build'
|
||||
config_opts['chroot_setup_cmd'] = 'install @build'
|
||||
config_opts['use_host_resolv'] = False
|
||||
config_opts['root'] = 'fedora26-build-repo_1'
|
||||
config_opts['yum.conf'] = '[main]\ncachedir=/var/cache/yum\ndebuglevel=1\nlogfile=/var/log/yum.log\nreposdir=/dev/null\nretries=20\nobsoletes=1\ngpgcheck=0\nassumeyes=1\nkeepcache=1\ninstall_weak_deps=0\nstrict=1\n\n# repos\n\n[build]\nname=build\nbaseurl=https://fedora.local/kojifiles/repos/fedora26-build/1/x86_64\n'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue