Last change
on this file since 2475 was
2344,
checked in by andersk, 12 years ago
|
Disable mirrors for fedora.repo better.
|
File size:
1.4 KB
|
Rev | Line | |
---|
[2196] | 1 | config_opts['root'] = 'fedora-17-x86_64' |
---|
| 2 | config_opts['target_arch'] = 'x86_64' |
---|
| 3 | config_opts['legal_host_arches'] = ('x86_64') |
---|
| 4 | config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build' |
---|
| 5 | config_opts['dist'] = 'fc17' # only useful for --resultdir variable subst |
---|
| 6 | |
---|
| 7 | config_opts['yum.conf'] = """ |
---|
| 8 | [main] |
---|
| 9 | cachedir=/var/cache/yum |
---|
| 10 | debuglevel=1 |
---|
| 11 | reposdir=/dev/null |
---|
| 12 | logfile=/var/log/yum.log |
---|
| 13 | retries=20 |
---|
| 14 | obsoletes=1 |
---|
| 15 | gpgcheck=0 |
---|
| 16 | assumeyes=1 |
---|
| 17 | syslog_ident=mock |
---|
| 18 | syslog_device= |
---|
| 19 | # grub/syslinux on x86_64 need glibc-devel.i386 which pulls in glibc.i386, need to exclude all |
---|
| 20 | # .i?86 packages except these. |
---|
| 21 | #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 |
---|
| 22 | # The above is not needed anymore with yum multilib policy of "best" which is the default in Fedora. |
---|
| 23 | |
---|
| 24 | # repos |
---|
| 25 | |
---|
| 26 | [fedora] |
---|
| 27 | name=fedora |
---|
[2344] | 28 | #mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-17&arch=x86_64 |
---|
| 29 | baseurl=http://dl.fedoraproject.org/pub/fedora/linux/releases/17/Everything/x86_64/os/ |
---|
[2196] | 30 | failovermethod=priority |
---|
| 31 | |
---|
| 32 | [updates-released] |
---|
| 33 | name=updates |
---|
| 34 | #mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f17&arch=x86_64 |
---|
| 35 | baseurl=http://dl.fedoraproject.org/pub/fedora/linux/updates/17/x86_64/ |
---|
| 36 | failovermethod=priority |
---|
| 37 | |
---|
| 38 | [local] |
---|
| 39 | name=local |
---|
| 40 | baseurl=file:///home/scripts-build/mock-local/ |
---|
| 41 | cost=2000 |
---|
| 42 | enabled=1 |
---|
| 43 | |
---|
| 44 | [scripts] |
---|
| 45 | name=Scripts |
---|
| 46 | baseurl=http://web.mit.edu/scripts/yum-repos/rpm-fc17/ |
---|
| 47 | enabled=1 |
---|
| 48 | gpgcheck=0 |
---|
| 49 | """ |
---|
Note: See
TracBrowser
for help on using the repository browser.