Product SiteDocumentation Site

4.3. YUM Repository Configuration

The files in /etc/revisor/conf.d/ are YUM configuration files. Revisor directs YUM through its API to use these files during the compose process, and does not handle these files itself. This chapter explains how these files are used, how you can change them and lists a few tips and tricks.
Because these files are YUM Configuration files, you can configure anything that YUM supports. See man yum.conf for more details.

4.3.1. $releasever and $basearch

When configuring a repository URL, make sure you do not use $releasever or $basearch variables. Since Revisor allows cross-composing distributions between different versions of the operating system, as well as different architectures, these variables need to be expanded to the value intended. Ergo, if a repository configuration has http://server/repo/$releasever/$basearch/, for a Fedora 12 i386 YUM configuration file you would need to change such in http://server/repo/12/i386/.