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>
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 bymake autospecandmake 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 byuser-setup.shto/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.confaccording to how the Koji instance is set up for your environment. Configuring the installation location viaMakefile.config.site_localis not possible at the moment but is a planned feature.