Mailinglist Archive: opensuse-buildservice (171 mails)

< Previous Next >
Re: [opensuse-buildservice] [Repost] How to "Setup initial distributions" in OBS ?
  • From: 李建 <lijian.gnu@xxxxxxxxx>
  • Date: Thu, 3 Sep 2009 11:33:17 +0800
  • Message-id: <426c385a0909022033s347a7721i2698533c21fce6a@xxxxxxxxxxxxxx>
Hi, Adrian

Your help is so practicality, thanks.

I've get some prjconf , I'll to learn from these conf:
# osc meta prjconf Fedora:11 > "Fedora:11.conf"
# osc meta prjconf "CentOS:CentOS-5" > "CentOS:CentOS-5.conf"
# osc meta prjconf "RedHat:RHEL-5" > "RedHat:RHEL-5.conf"

And rescan repository :
# /usr/lib/obs/server/bs_admin --rescan-repository "GTES:11.3" "standard" "i586"

the bs_admin scripts have a error about perl path, and i add:
use lib '/usr/lib/obs/server';
to the head of bs_admin, then it worked correctly.

Now, I'm working on resolved the "create project" error.

thanks, guys.

2009/9/2 Adrian Schröter <adrian@xxxxxxx>:
Am Dienstag, 1. September 2009 12:35:02 schrieb 李建:
Sorry to repost but I recive a "Post to
opensuse-buildservice@xxxxxxxxxxxx denied" from mail server.

Hi, guys!

 I've a question in "Setup initial distributions",

 I've setup a obs environment already, I want to create a local source
 but I a fresher on ruby and rails, I don't know how to initial a
 repository for obs.

 The README.SETUP have tow method, but doesn't fit for me neither. I've
 trie= d
 method two --use command "obs_mirror_project openSUSE:11.1 standard i586".
 but always failed because timeout.

 I've a Fedora-12-Alpha-i386-DVD.iso, I want to initial Fedora's repository
 to my local build repository. Anyone has a experience to help me ?

In the end all rpms must be copied to


and the scheduler needs to scan this, can be done via

 bs_admin --rescan-repository <project> <repositroy> <architecture>

A base distro also always needs a project config, check for a fedora one via

 osc meta prjconf Fedora:11

in our build server.



Adrian Schroeter
SUSE Linux Products GmbH
email: adrian@xxxxxxx

Jian Lee [ ]
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >