6-plus.i386.cfg
6-plus.noarch.cfg
6-plus.x86_64.cfg
6.9-updates.i386.cfg
6.9-updates.noarch.cfg
6.9-updates.x86_64.cfg
README.md
abrt-2.1.11-19.el7.centos.0.3-i386.cfg
abrt-2.1.11-19.el7.centos.0.3-x86_64.cfg
aide-0.15.1-6.el7-x86_64.cfg
boost-1.53.0-14.el7-x86_64.cfg
brltty-4.5-6.el7-x86_64.cfg
c6.99.00-i686.cfg
c6.99.01-i686.cfg
c7-devtoolset-6.aarch64.cfg
c7-devtoolset-6.i386.cfg
c7-devtoolset-6.ppc.cfg
c7-devtoolset-6.ppc64.cfg
c7-devtoolset-6.ppc64le.cfg
c7-devtoolset-6.x86_64.cfg
c7-dotnet-x86_64.cfg
c7-epel-i686.cfg
c7-epel.a32-armv7hl.cfg
c7-epel.a64-aarch64.cfg
c7-extras.aarch64.cfg
c7-extras.armhfp.cfg
c7-extras.i686.cfg
c7-extras.ppc.cfg
c7-extras.ppc64.cfg
c7-extras.ppc64le.cfg
c7-extras.x86_64.cfg
c7-kernels.armhfp.cfg
c7-plus.i386.cfg
c7-plus.noarch.cfg
c7-plus.x86_64.cfg
c7-updates-i686.cfg
c7-updates-x86_64.cfg
c7.00.00-i686.cfg
c7.00.00-x86_64.cfg
c7.00.01-i686.cfg
c7.00.01-x86_64.cfg
c7.00.02-i686.cfg
c7.00.02-x86_64.cfg
c7.00.03-i686.cfg
c7.00.03-x86_64.cfg
c7.00.04-i686.cfg
c7.00.04-x86_64.cfg
c7.01.00-i686.cfg
c7.01.00-x86_64.cfg
c7.01.u-i686.cfg
c7.01.u-x86_64.cfg
c7.1511.00-i686.cfg
c7.1511.00-x86_64.cfg
c7.1511.00.a32-armv7hl.cfg
c7.1511.00.a64-aarch64.cfg
c7.1511.exp-i686.cfg
c7.1511.exp-x86_64.cfg
c7.1511.u-i686.cfg
c7.1511.u-x86_64.cfg
c7.1511.u.a32-armv7hl.cfg
c7.1511.u.a64-aarch64.cfg
c7.1611.00-i686.cfg
c7.1611.00-x86_64.cfg
c7.1611.00.a32-armv7hl.cfg
c7.1611.00.a64-aarch64.cfg
c7.1611.exp-i686.cfg
c7.1611.exp-x86_64.cfg
c7.1611.u-i686.cfg
c7.1611.u-x86_64.cfg
c7.1611.u.a32-armv7hl.cfg
c7.1611.u.a64-aarch64.cfg
c7.1708.alt.ppc64le.cfg
c7.1708.devtoolset-6.armhfp.cfg
c7.1708.devtoolset-7.armhfp.cfg
c7.1708.exp.i686.cfg
c7.1708.exp.x86_64.cfg
c7.1708.u.aarch64.cfg
c7.1708.u.armhfp.cfg
c7.1708.u.i686.cfg
c7.1708.u.noarch.cfg
c7.1708.u.ppc.cfg
c7.1708.u.ppc64.cfg
c7.1708.u.ppc64le.cfg
c7.1708.u.x86_64.cfg
c7.1804.00.aarch64.cfg
c7.1804.00.armhfp.cfg
c7.1804.00.i686.cfg
c7.1804.00.noarch.cfg
c7.1804.00.ppc.cfg
c7.1804.00.ppc64.cfg
c7.1804.00.ppc64le.cfg
c7.1804.00.x86_64.cfg
c7.common-i686.cfg
c7.common-x86_64.cfg
cah-0.0.1.i386.cfg
cah-0.0.1.x86_64.cfg
centos-7-armhfp.cfg
compat-gcc-32-3.2.3-69.el7-x86_64.cfg
compat-gcc-34-3.4.6-30.el7-x86_64.cfg
compat-gcc-44-4.4.7-4.1.el7-x86_64.cfg
cups-pk-helper-0.2.4-2.el7-x86_64.cfg
def.cfg
epel7-x86_64.cfg
esc-1.1.0-27.el7-i686.cfg
f19-i686.cfg
f19-x86_64.cfg
fftw-3.3.3-6.el7-x86_64.cfg
fontawesome-fonts-4.1.0-1.el7-i686.cfg
fontawesome-fonts-4.1.0-1.el7-x86_64.cfg
gcc-4.8.5-28.el7.ppc64le.cfg
gegl-0.2.0-11.el7-x86_64.cfg
gnome-shell-3.26.2-5.el7.aarch64.cfg
gnome-shell-3.26.2-5.el7.armhfp.cfg
gnome-shell-3.26.2-5.el7.i386.cfg
gnome-shell-3.26.2-5.el7.ppc.cfg
gnome-shell-3.26.2-5.el7.ppc64.cfg
gnome-shell-3.26.2-5.el7.ppc64le.cfg
gnome-shell-3.26.2-5.el7.x86_64.cfg
golang-1.2-3.el7-x86_64.cfg
gstreamer-plugins-base-0.10.36-4.el7-x86_64.cfg
hints
inkscape-0.92.2-2.el7.armhfp.cfg
ipa-4.1.0-18.el7.centos-i686.cfg
ipa-4.1.0-18.el7.centos-x86_64.cfg
jarjar-1.4-3.el7-x86_64.cfg
jing-trang-20091111-12.el7-x86_64.cfg
libguestfs-1.28.1-1.18.el7.centos-i686.cfg
libguestfs-1.28.1-1.18.el7.centos-x86_64.cfg
libreport-2.1.11-21.el7.centos.0.3-i386.cfg
libreport-2.1.11-21.el7.centos.0.3-x86_64.cfg
libstoragemgmt-0.0.22-4.el7-x86_64.cfg
logging.ini
open-vm-tools-9.4.0-6.el7-x86_64.cfg
pacemaker-1.1.10-29.el7-i386.cfg
pacemaker-1.1.10-29.el7-x86_64.cfg
qemu-kvm-1.5.3-86-x86_64.repo
r7b1-i686.cfg
r7b1-x86_64-with-32bitglibc.cfg
r7b1-x86_64.cfg
readme.txt
sac-1.3-15.el7-x86_64.cfg
selinux-policy-3.12.1-153.el7_0.11-i686.cfg
selinux-policy-3.12.1-153.el7_0.11-x86_64.cfg
site-defaults.cfg
syslinux-4.05-5.el7-x86_64.cfg
tomcat-7.0.76-3.el7_4.armhfp.cfg
tomcat-7.0.76-6.el7.armhfp.cfg
totem-3.8.2-1.el7-x86_64.cfg
valgrind-3.9.0-1.2.el7-x86_64.cfg
xorg-x11-server-1.14.99.901-5.20131101.el7-x86_64.cfg
xvattr-1.3-24.el7-x86_64.cfg
6-plus.i686.cfg
c6.99.00-i386.cfg
c6.99.01-i386.cfg
c7-extras.i386.cfg
c7-extras.noarch.cfg
c7-plus.i686.cfg
c7-updates-i386.cfg
c7-updates-noarch.cfg
c7.00.00-i386.cfg
c7.00.00-noarch.cfg
c7.00.01-i386.cfg
c7.00.01-noarch.cfg
c7.00.02-i386.cfg
c7.00.02-noarch.cfg
c7.00.03-i386.cfg
c7.00.03-noarch.cfg
c7.00.04-i386.cfg
c7.00.04-noarch.cfg
c7.01.00-i386.cfg
c7.01.00-noarch.cfg
c7.01.u-i386.cfg
c7.01.u-noarch.cfg
c7.1511.00-i386.cfg
c7.1511.00-noarch.cfg
c7.1511.exp-i386.cfg
c7.1511.exp-noarch.cfg
c7.1511.u-i386.cfg
c7.1511.u-noarch.cfg
c7.1611.00-i386.cfg
c7.1611.00-noarch.cfg
c7.1611.exp-i386.cfg
c7.1611.exp-noarch.cfg
c7.1611.u-i386.cfg
c7.1611.u-noarch.cfg
c7.1708.exp.i386.cfg
c7.1708.u.i386.cfg
c7.1804.00.i386.cfg
c7.common-i386.cfg
c7.common-noarch.cfg
cah-0.0.1.noarch.cfg
f19-i386.cfg
f19-noarch.cfg
fontawesome-fonts-4.1.0-1.el7-i386.cfg
golang-github-gorilla-context-0-0.22.git708054d.el7-x86_64.cfg
golang-github-syndtr-gocapability-0-0.5.git3454319.el7-x86_64.cfg
ipa-4.1.0-18.el7.centos-i386.cfg
ipa-4.1.0-18.el7.centos.0.1-i386.cfg
ipa-4.1.0-18.el7.centos.0.1-x86_64.cfg
ipa-4.1.0-18.el7.centos.3-i386.cfg
ipa-4.1.0-18.el7.centos.3-x86_64.cfg
ipa-4.1.0-18.el7.centos.4-i386.cfg
ipa-4.1.0-18.el7.centos.4-x86_64.cfg
java-1.6.0-openjdk-i686.cfg
libguestfs-1.28.1-1.18.el7.centos-i386.cfg
libreport-i386.cfg
libreport-i686.cfg
libreport-noarch.cfg
libreport-x86_64.cfg
memtest86+-x86_64.cfg
open-sans-fonts-1.10-1.el7-i386.cfg
open-sans-fonts-1.10-1.el7-i686.cfg
open-sans-fonts-1.10-1.el7-x86_64.cfg
pacemaker-1.1.10-29.el7-i686.cfg
r7b1-i386.cfg
r7b1-noarch.cfg
selinux-policy-3.12.1-153.el7_0.11-i386.cfg
selinux-policy-3.12.1-153.el7_0.11-noarch.cfg
tomcat-7.0.76-3.el7_4-armhfp.cfg
README.md
  • The old style templates no longer work in the 7 buildsys
  • it now needs complete rendered files

Add mock config files per package here; they can be either * <package name>-<version>-<releaese>.ARCH.conf * <package-name>-<version>.ARCH.conf * <package>.ARCH.conf

If the builder does not find a match in this dir, it will use the conf file from one dir up ( and should be good for most builds )

ARCH needs to be either i386 / x86_64 or noarch. In most cases we will want to use the default mock configs from one dir up and adapt those.

In almost every case, we want the noarch.conf to be symlinked to the x86_64 config file. Regular noarch files are built against the x86_64 target, but if something has ExclusiveArch then it will be attempted against the noarch conf first.

If doing custom mock configs for the kernel, its always going to need a noarch.cfg as well

Repositories

repo urls that contain /mirror/ point to pristine upstream mirrors ( unmaintained, they will never change )

repo urls that contain /repo/<target> represent the actual repositories that built content is being injected into

System Files

  • def.cfg
  • logging.ini
  • hints
  • site-defaults.cfg

Hints

There are two ways to add packages to the buildroot, either via the hints file or by changing the mock config used for that specific package build. In most cases, err towards using the hints file, since its arch agnostic, version agnostic and mods to it do not leave an extra mock conf that needs to be maintained.

Syntax in the hints file is explained right at the top