Blame mock/README.md

Karanbir Singh 5b518d
 * The old style templates no longer work in the 7 buildsys
Karanbir Singh 5b518d
 * it now needs complete rendered files 
Karanbir Singh b181f7
Karanbir Singh 5b518d
Add mock config files per package here; 
Karanbir Singh b181f7
they can be either
Karanbir Singh 5b518d
 * <package name>-<version>-<releaese>.ARCH.conf
Karanbir Singh 5b518d
 * <package-name>-<version>.ARCH.conf 
Karanbir Singh 5b518d
 * <package>.ARCH.conf
Karanbir Singh 5b518d
Karanbir Singh b181f7
Karanbir Singh b181f7
If the builder does not find a match in this dir, it will 
Karanbir Singh b181f7
use the conf file from one dir up ( and should be good
Karanbir Singh b181f7
for most builds )
Karanbir Singh b181f7
Karanbir Singh 5b518d
Karanbir Singh b181f7
ARCH needs to be either i386 / x86_64 or noarch. In most cases
Karanbir Singh b181f7
we will want to use the default mock configs from one dir up
Karanbir Singh b181f7
and adapt those. 
Karanbir Singh b181f7
Karanbir Singh 5b518d
Karanbir Singh b181f7
In almost every case, we want the noarch.conf to be symlinked
Karanbir Singh b181f7
to the x86_64 config file. Regular noarch files are built against
Karanbir Singh b181f7
the x86_64 target, but if something has ExclusiveArch then it 
Karanbir Singh b181f7
will be attempted against the noarch conf first.
Karanbir Singh b181f7
Karanbir Singh 5b518d
Karanbir Singh b181f7
If doing custom mock configs for the kernel, its always
Karanbir Singh b181f7
going to need a noarch.cfg as well 
Karanbir Singh b181f7
Karanbir Singh 5b518d
Karanbir Singh 316b33
Repositories
Karanbir Singh 316b33
------------
Karanbir Singh 5b518d
Karanbir Singh b181f7
repo urls that contain /mirror/ point to pristine upstream
Karanbir Singh b181f7
mirrors ( unmaintained, they will never change )
Karanbir Singh b181f7
Karanbir Singh 5b518d
Karanbir Singh b181f7
repo urls that contain /repo/<target> represent the actual
Karanbir Singh b181f7
repositories that built content is being injected into
Karanbir Singh b181f7
Karanbir Singh b181f7
Karanbir Singh 5b518d
Karanbir Singh 316b33
System Files
Karanbir Singh 316b33
------------
Karanbir Singh 316b33
Karanbir Singh 316b33
 * def.cfg
Karanbir Singh 316b33
 * logging.ini
Karanbir Singh 316b33
 * hints
Karanbir Singh 316b33
 * site-defaults.cfg
Karanbir Singh 316b33
Karanbir Singh 316b33
Karanbir Singh 316b33
Hints
Karanbir Singh 316b33
-----
Karanbir Singh 316b33
Karanbir Singh 316b33
There are two ways to add packages to the buildroot, either
Karanbir Singh 316b33
via the hints file or by changing the mock config used for 
Karanbir Singh 316b33
that specific package build. In most cases, err towards 
Karanbir Singh 316b33
using the hints file, since its arch agnostic, version 
Karanbir Singh 316b33
agnostic and mods to it do not leave an extra mock conf 
Karanbir Singh 316b33
that needs to be maintained.
Karanbir Singh 316b33
Karanbir Singh 316b33
Syntax in the hints file is explained right at the top
Karanbir Singh 316b33
Karanbir Singh 316b33