#748 [rpmbuild] enforce use_host_resolv
Merged 4 years ago by praiskup. Opened 4 years ago by praiskup.
Unknown source use_host_resolv_true  into  master

@@ -1,5 +1,6 @@

  include('/etc/mock/default.cfg')

  config_opts['rpmbuild_networking'] = True

+ config_opts['use_host_resolv'] = True

  config_opts['chroot_additional_packages'] = 'make dnf'

  config_opts['plugin_conf']['bind_mount_enable'] = True

  config_opts['nspawn_args'] = ['--private-users=pick','--drop-capability=CAP_SYS_ADMIN,CAP_IPC_OWNER,CAP_KILL,CAP_LEASE,CAP_LINUX_IMMUTABLE,CAP_NET_BIND_SERVICE,CAP_NET_BROADCAST,CAP_NET_RAW,CAP_SETGID,CAP_SETPCAP,CAP_SETUID,CAP_SYS_CHROOT,CAP_SYS_NICE,CAP_SYS_PTRACE,CAP_SYS_TTY_CONFIG,CAP_SYS_RESOURCE,CAP_SYS_BOOT,CAP_AUDIT_WRITE,CAP_AUDIT_CONTROL']

rebased onto efe5ba4

4 years ago

Make srpm method has its own mock config template?
Argh, I would not expect that.

+1 for this PR, the use_host_resolv is set for other methods anyway.

Argh, I would not expect that.

Yeah, there are several nice things on several fronts ... but that's different issue #534

Pull-Request has been merged by praiskup

4 years ago