source: branches/fc13-dev/server/fedora/config/etc/mock/scripts-fc11-i386.cfg @ 1613

Last change on this file since 1613 was 1458, checked in by mitchb, 14 years ago
Allow "buildroot override" functionality in mock via a local repo If you're building a chain of packages that have requirements on each other, and aren't yet ready to publish them to the world, mock needs a way to find the dependencies that aren't in a regular repo yet. Configure it to treat /home/scripts-build/mock-local as a local repo that it can install packages from to satisfy dependencies. This is analogous to Fedora's "buildroot overrides" used when building packages that depend on each other and need to be pushed to production together instead of serially. For more details, see: http://fedoraproject.org/wiki/Buildroot_override_SOP
File size: 924 bytes
Line 
1config_opts['root'] = 'fedora-11-i386'
2config_opts['target_arch'] = 'i586'
3config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build'
4config_opts['dist'] = 'fc11'  # only useful for --resultdir variable subst
5
6config_opts['yum.conf'] = """
7[main]
8cachedir=/var/cache/yum
9debuglevel=1
10reposdir=/dev/null
11logfile=/var/log/yum.log
12retries=20
13obsoletes=1
14gpgcheck=0
15assumeyes=1
16
17# repos
18
19[fedora]
20name=fedora
21mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-11&arch=i386
22failovermethod=priority
23
24[updates-released]
25name=updates
26#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f11&arch=i386
27baseurl=http://download3.fedora.redhat.com/pub/fedora/linux/updates/11/i386/
28failovermethod=priority
29
30[local]
31name=local
32baseurl=file:///home/scripts-build/mock-local/
33cost=2000
34enabled=1
35
36[scripts]
37name=Scripts
38baseurl=http://web.mit.edu/scripts/rpm-fc11/
39enabled=1
40gpgcheck=0
41"""
42
43
44
Note: See TracBrowser for help on using the repository browser.