SCIENTIFIC-LINUX-DEVEL Archives

March 2011

SCIENTIFIC-LINUX-DEVEL@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Simon Wesp <[log in to unmask]>
Reply To:
Simon Wesp <[log in to unmask]>
Date:
Mon, 7 Mar 2011 13:51:45 +0100
Content-Type:
multipart/signed
Parts/Attachments:
text/plain (2423 bytes) , signature.asc (203 bytes)
Am Montag, 07 März 2011 13:12:54 schrieb Kai Heide:
KH> But how?

Dear Kai,

the epel configuration files for mock are not usable, because they are
using centos 6 repos which aren't exist and these repos are disabled.

a segment from: /etc/mock/epel-6-i386.cfg
[base]
name=BaseOS
enabled=0
mirrorlist=http://mirrorlist.centos.org/?release=6&arch=i386&repo=os
failovermethod=priority

enabled=0 means that this repo is disabled.
mirrorlist= look they are using centos

Where do you got mock?

My machine says:
[cassmodiah@schafwiese ~]$ yum list mock.noarch
mock.noarch 1.1.9-1.el6 @epel-teting

So my mock is from epel and the epel-team is my contact, not sl-devel.
There is already a bug filed for his problem:
https://bugzilla.redhat.com/show_bug.cgi?id=679885


Maybe you wanna use another configfile:
Here is my suggestion (maybe not the best one, but it's working!


[cassmodiah@schafwiese ~]$ cat /etc/mock/sl-6-i386.cfg 
config_opts['root'] = 'epel-6-i386'
config_opts['target_arch'] = 'i686'
config_opts['legal_host_arches'] = ('i386', 'i586', 'i686', 'x86_64')
config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build'
config_opts['dist'] = 'el6'  # only useful for --resultdir variable
subst

config_opts['yum.conf'] = """
[main]
cachedir=/var/cache/yum
debuglevel=1
reposdir=/dev/null
logfile=/var/log/yum.log
retries=20
obsoletes=1
gpgcheck=0
assumeyes=1
syslog_ident=mock
syslog_device=

# repos
[base]
name=BaseOS
baseurl=http://ftp.scientificlinux.org/linux/scientific/6/i386/os/
failovermethod=priority

[updates-security]
name=updates-security
baseurl=http://ftp.scientificlinux.org/linux/scientific/6/i386/updates/security/
failovermethod=priority

[updates-fastbugs]
name=updates-fastbugs
baseurl=http://ftp.scientificlinux.org/linux/scientific/6/i386/updates/fastbugs/
failovermethod=priority

[epel]
name=epel
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-6&arch=i386
failovermethod=priority

[testing]
name=epel-testing
enabled=0
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=testing-epel6&arch=i386
failovermethod=priority

[local]
name=local
baseurl=http://kojipkgs.fedoraproject.org/repos/dist-6E-epel-build/latest/i386/
cost=2000
enabled=0
"""


-- 
Mit freundlichen Grüßen aus dem schönen Hainzell
Simon Wesp

http://fedoraproject.org/wiki/User:Cassmodiah
2.6.35.11-83.fc14.i686
Today is Sweetmorn, the 66th day of Chaos in the YOLD 3177


ATOM RSS1 RSS2