Last change
on this file since 1458 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:
1.3 KB
|
Line | |
---|
1 | config_opts['root'] = 'fedora-11-x86_64' |
---|
2 | config_opts['target_arch'] = 'x86_64' |
---|
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 | # 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] |
---|
24 | name=fedora |
---|
25 | mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-11&arch=x86_64 |
---|
26 | failovermethod=priority |
---|
27 | |
---|
28 | [updates-released] |
---|
29 | name=updates |
---|
30 | #mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f11&arch=x86_64 |
---|
31 | baseurl=http://download3.fedora.redhat.com/pub/fedora/linux/updates/11/x86_64/ |
---|
32 | failovermethod=priority |
---|
33 | |
---|
34 | [local] |
---|
35 | name=local |
---|
36 | baseurl=file:///home/scripts-build/mock-local/ |
---|
37 | cost=2000 |
---|
38 | enabled=1 |
---|
39 | |
---|
40 | [scripts] |
---|
41 | name=Scripts |
---|
42 | baseurl=http://web.mit.edu/scripts/rpm-fc11/ |
---|
43 | enabled=1 |
---|
44 | gpgcheck=0 |
---|
45 | """ |
---|
46 | |
---|
47 | |
---|
Note: See
TracBrowser
for help on using the repository browser.