Fedora Linux Support Community & Resources Center
Prev Previous Post   Next Post Next
  #1  
Old 14th February 2011, 08:50 PM
cyrille's Avatar
cyrille Offline
Registered User
 
Join Date: Sep 2010
Posts: 34
linuxfirefox
Question Use mock with specific repo

Hi I've got a problem with mock
I'd like to use it in order to build my own packages for a sub(fedora distrib (BLAG)
So I've created specific mock.cfg file for i386 oand x86_64. Theses point at BLAG repo ( ftp://blag.fsf.org/140000/en/os/ )

When I use mock under F14 and I build a fc13 package, this package has got the name of the distrib.

For example :
ls /var/lib/mock/fedora-13-i386/result/
sylpheed-3.1.0-0.1.beta3.fc13.i686.rpm


But when I do the same but with my own config file of mock for BLAG , I've this name :
sylpheed-3.1.0-0.1.beta7.fc14.i686.rpm
and not sylpheed-3.1.0-0.1.beta7.blag140000.i686.rpm

Here the specific mock config file
Code:
cat /etc/mock/blag-140-i386.cfg 
config_opts['root'] = 'blag-140-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'] = 'blag140000'  # 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=
# grub/syslinux on x86_64 need glibc-devel.i386 which pulls in glibc.i386, need to exclude all
# .i?86 packages except these.
#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
# The above is not needed anymore with yum multilib policy of "best" which is the default in Fedora.

# repos

#[BLAG.blag]
name=BLAG.blag
baseurl=ftp://blag.fsf.org/140000/en/os/i386/BLAG.blag/
failovermethod=priority

[BLAG.fedora]
name=BLAG.fedora
baseurl=ftp://blag.fsf.org/140000/en/os/i386/BLAG.fedora/
failovermethod=priority

[BLAG.fedora-updates]
name=BLAG.fedora-updates
baseurl=ftp://blag.fsf.org/140000/en/os/i386/BLAG.fedora-updates/
failovermethod=priority

[BLAG.freed-ora]
name=BLAG.freed-ora
baseurl=ftp://blag.fsf.org/140000/en/os/i386/BLAG.freed-ora/
failovermethod=priority

Any ideas is welcome, thx !
__________________

Fedora 16
- - - France - - -
Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Associating specific DNS's with specific ethers Jakkals Servers & Networking 0 9th July 2009 02:29 PM
Need help with mock josbal Using Fedora 0 9th July 2009 07:04 AM
mock problem on F10 Ciclamino Using Fedora 0 2nd December 2008 09:50 PM
yum question, check for specific update on another repo c0ldshadow Using Fedora 10 5th March 2006 09:08 PM
apt/synaptic: packages from a specific repo yur1022 Using Fedora 0 10th May 2005 08:49 PM


Current GMT-time: 06:57 (Tuesday, 18-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat