#2353 turn off dnf_warning in mock.cfg
Merged 3 years ago by mikem. Opened 3 years ago by tkopecek.
tkopecek/koji issue2026  into  master

file modified
+2 -2
@@ -1581,8 +1581,8 @@ 

          'use_host_resolv': opts.get('use_host_resolv', False),

          # Don't let a build last more than 24 hours

          'rpmbuild_timeout': opts.get('rpmbuild_timeout', 86400),

-         # warn if yum is used instead of dnf

-         'dnf_warning': True,

+         # turn off warning for yum being used in place of dnf

+         'dnf_warning': False,

      }

      if opts.get('package_manager'):

          config_opts['package_manager'] = opts['package_manager']

@@ -3,7 +3,7 @@ 

  config_opts['basedir'] = '/var/lib/mock'

  config_opts['chroot_setup_cmd'] = 'groupinstall build'

  config_opts['chroothome'] = '/builddir'

- config_opts['dnf_warning'] = True

+ config_opts['dnf_warning'] = False

  config_opts['internal_dev_setup'] = False

  config_opts['root'] = 'ROOTNAME'

  config_opts['rpmbuild_networking'] = False

@@ -3,7 +3,7 @@ 

  config_opts['basedir'] = '/var/lib/mock'

  config_opts['chroot_setup_cmd'] = 'groupinstall build'

  config_opts['chroothome'] = '/builddir'

- config_opts['dnf_warning'] = True

+ config_opts['dnf_warning'] = False

  config_opts['internal_dev_setup'] = True

  config_opts['root'] = 'ROOTNAME'

  config_opts['rpmbuild_networking'] = False

@@ -3,7 +3,7 @@ 

  config_opts['basedir'] = '/var/lib/mock'

  config_opts['chroot_setup_cmd'] = 'groupinstall build'

  config_opts['chroothome'] = '/builddir'

- config_opts['dnf_warning'] = True

+ config_opts['dnf_warning'] = False

  config_opts['root'] = 'ROOTNAME'

  config_opts['rpmbuild_networking'] = False

  config_opts['rpmbuild_timeout'] = 86400