README.md
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.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
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
f19-i686.cfg
f19-x86_64.cfg
fftw-3.3.3-6.el7-x86_64.cfg
gcc-x86_64.cfg
gegl-0.2.0-11.el7-x86_64.cfg
gstreamer-plugins-base-0.10.36-4.el7-x86_64.cfg
hints
jarjar-1.4-3.el7-x86_64.cfg
jing-trang-20091111-12.el7-x86_64.cfg
libstoragemgmt-0.0.22-4.el7-x86_64.cfg
logging.ini
memtest86+-x86_64.cfg
netcf-0.2.3-8.el7-i686.cfg
netcf-0.2.3-8.el7-x86_64.cfg
pacemaker-1.1.10-29.el7-x86_64.cfg
r7b1-i686.cfg
r7b1-x86_64-with-32bitglibc.cfg
r7b1-x86_64.cfg
readme.txt
sac-1.3-15.el7-x86_64.cfg
site-defaults.cfg
syslinux-4.05-5.el7-x86_64.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
c6.99.00-i386.cfg
c6.99.01-i386.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
f19-i386.cfg
f19-noarch.cfg
gdm-3.8.4-25.el7-x86_64.cfg
glusterfs-3.4.0.59rhs-1.el7.cfg
icu-50.1.2-11.el7-x86_64.cfg
java-1.6.0-openjdk-1.6.0.0-6.1.13.1.el7-x86_64.cfg
libguestfs-1.22.6-22.el7-x86_64.cfg
netcf-0.2.3-8.el7-i386.cfg
r7b1-i386.cfg
r7b1-noarch.cfg
realmd-0.14.6-6.el7-x86_64.cfg
ruby-2.0.0.353-20.el7-x86_64.cfg
transfig-3.2.5d-13.el7-x86_64.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