Last change
on this file since 1611 was
1458,
checked in by mitchb, 15 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 | |
---|
1 | config_opts['root'] = 'fedora-11-i386' |
---|
2 | config_opts['target_arch'] = 'i586' |
---|
3 | config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build' |
---|
4 | config_opts['dist'] = 'fc11' # only useful for --resultdir variable subst |
---|
5 | |
---|
6 | config_opts['yum.conf'] = """ |
---|
7 | [main] |
---|
8 | cachedir=/var/cache/yum |
---|
9 | debuglevel=1 |
---|
10 | reposdir=/dev/null |
---|
11 | logfile=/var/log/yum.log |
---|
12 | retries=20 |
---|
13 | obsoletes=1 |
---|
14 | gpgcheck=0 |
---|
15 | assumeyes=1 |
---|
16 | |
---|
17 | # repos |
---|
18 | |
---|
19 | [fedora] |
---|
20 | name=fedora |
---|
21 | mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-11&arch=i386 |
---|
22 | failovermethod=priority |
---|
23 | |
---|
24 | [updates-released] |
---|
25 | name=updates |
---|
26 | #mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f11&arch=i386 |
---|
27 | baseurl=http://download3.fedora.redhat.com/pub/fedora/linux/updates/11/i386/ |
---|
28 | failovermethod=priority |
---|
29 | |
---|
30 | [local] |
---|
31 | name=local |
---|
32 | baseurl=file:///home/scripts-build/mock-local/ |
---|
33 | cost=2000 |
---|
34 | enabled=1 |
---|
35 | |
---|
36 | [scripts] |
---|
37 | name=Scripts |
---|
38 | baseurl=http://web.mit.edu/scripts/rpm-fc11/ |
---|
39 | enabled=1 |
---|
40 | gpgcheck=0 |
---|
41 | """ |
---|
42 | |
---|
43 | |
---|
44 | |
---|
Note: See
TracBrowser
for help on using the repository browser.