Files
common/conf
Patrick McCarty 3671774e8a Support newer versions of Mock (part 1)
In Mock version 1.4.4, the chroot group was changed from "mockbuild" to
"mock". This creates a problem for running Mock on Clear Linux because
(a) the distro already has group "mock", and (b) Mock tries to `groupdel
mock` within the chroot and fails, since the group is defined in
/usr/share/defaults/etc/group and not in /etc/group. Mock treats the
groupdel failure as fatal. Fortunately there is a workaround: set the
"chrootgroup" config to a group not already defined in the OS. I am
setting the group to "mockbuild" in the default config to restore the
behavior of previous Mock versions. Thanks to Mark Horn for adding this
feature upstream! It was merged for Mock 1.4.7.

Also, disable the new bootstrap container feature, added in Mock version
1.4.1. It was disabled by default in version 1.4.2, but keep the
explicit setting in case upstream enables it in the future.

Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
2018-07-02 21:57:19 -07:00
..

Configuration files

This directory contains various configuration files used by the developer tooling framework.

Unless otherwise noted in the config file documentation below, the config files can be modified with custom, site-local changes by modifying a variable in Makefile.config.site_local to point to a location of your choice (e.g. somewhere in /etc). The framework will then read the config file from the location you have specified instead, so copy the in-tree copy to that location as a starting point if you need to.

  • autospec.conf: default Autospec configuration file used by make autospec and make autospecnew. All configuration is commented out by default, so default Autospec settings are used. Config variable: AUTOSPEC_CONF

  • clear.cfg: default Mock configuration file used by various targets that call out to Mock. Config variable: MOCK_CONF

  • dnf.conf: DNF conf for use as the package manager configuration file, made available for the framework's local repo support. Config variable: PM_CONF

  • yum.conf: YUM conf for use as the package manager configuration file, made available for the framework's local repo support. Config variable: PM_CONF

  • koji.conf: template Koji configuration file. It is installed by user-setup.sh to /etc/koji.conf, and the in-tree copy is not used. If you are using Koji with the framework, you will need to modify /etc/koji.conf according to how the Koji instance is set up for your environment. Configuring the installation location via Makefile.config.site_local is not possible at the moment but is a planned feature.