source: trunk/server/fedora/config/etc/mock/scripts-fc11-x86_64.cfg @ 1854

Last change on this file since 1854 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: 1.3 KB
Line 
1config_opts['root'] = 'fedora-11-x86_64'
2config_opts['target_arch'] = 'x86_64'
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# grub/syslinux on x86_64 need glibc-devel.i386 which pulls in glibc.i386, need to exclude all
17# .i?86 packages except these.
18#exclude=[0-9A-Za-fh-z]*.i?86 g[0-9A-Za-km-z]*.i?86 gl[0-9A-Za-hj-z]*.i?86 gli[0-9A-Zac-z]*.i?86 glib[0-9A-Za-bd-z]*.i?86
19# The above is not needed anymore with yum multilib policy of "best" which is the default in Fedora.
20
21# repos
22
23[fedora]
24name=fedora
25mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-11&arch=x86_64
26failovermethod=priority
27
28[updates-released]
29name=updates
30#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f11&arch=x86_64
31baseurl=http://download3.fedora.redhat.com/pub/fedora/linux/updates/11/x86_64/
32failovermethod=priority
33
34[local]
35name=local
36baseurl=file:///home/scripts-build/mock-local/
37cost=2000
38enabled=1
39
40[scripts]
41name=Scripts
42baseurl=http://web.mit.edu/scripts/rpm-fc11/
43enabled=1
44gpgcheck=0
45"""
46
47
Note: See TracBrowser for help on using the repository browser.