Mailinglist Archive: opensuse-buildservice (247 mails)

< Previous Next >
Re: [opensuse-buildservice] How to add repository to local OBS instance
  • From: Stefan Cocora <stefan.cocora@xxxxxxxxxxxxxx>
  • Date: Sun, 09 Jun 2013 01:21:28 +0100
  • Message-id: <>
Hi Adrian,

Let's see if I understand this correctly:
- I've created
/srv/obs/build/home\:stefan\:localubuntu/xUbuntu_13.04/x86_64/\:full on
the obsserver
- I do a osc co of home\:stefan\:localubuntu on my laptop
- I add miro as a package inside this project + osc add and commit
- do I run rescan-repository after adding the miro packages ?
- Where should I add the ubuntu repo, in which directory ? "If this new
repo has the Ubuntu repo inside it's path..."


On 28/05/13 21:45, Stefan Cocora wrote:
Thanks for your advice Adrian, I'll try it as soon as possible and
feedback the results to this mailing list.


On 28/05/13 09:00, Adrian Schröter wrote:
On Montag, 27. Mai 2013, 17:15:33 wrote Stefan Cocora:
Thanks for your response Philipp,

To confirm, yes my local instance is connected to
Can I have my local obs connected with and at the same
time create another project that tracks packages locally ?

I'm not sure I understand what you mean by "If you want to hold the
project including the packages locally".
Doesn't creating another project and adding rpm/deb manually mean that
I'm holding the packages and and the project locally ?

If you want to binary import some packages, create some repo somewhere via
osc or webui. Ideally in an empty project without sources

Afterwards, you can create the :full directory in


and copy your binaries inside. Last, you need to tell the scheduler to scan

obs_admin --rescan-repository <project> <repository> <architecture>

If this new repo has the Ubuntu repo inside it's path, it is enough to build
your new repo in your projects.


On 27/05/13 11:38, Philipp Seiler wrote:
Hi Stefan,

On Sun, 26 May 2013 09:05:57 +0100
Stefan Cocora <stefan.cocora@xxxxxxxxxxxxxx> wrote:

Hi all,

I'm trying to build miro 6 for ubuntu 12.04 ubuntu 13.04 using my
self hosted version of OBS.
My self hosted version of OBS is 2.3.8.

The problem with miro is that it needs python-support which exists
only in the ubuntu universe repositories.

Reading the opensuse buildservice mailing list I saw that you can't
add ubuntu's universe to opensuse because of legal issues.

How can I add ubuntu universe to my self-hosted version of OBS ?

You interconnect your self-hosted OBS with the SUSE one, right?
In this case you can't add RPMs to the repository because the
rpms are directly downloaded from the SUSE OBS. I can provide you one
(not the only?) solution. You create a project in your instance with
prj information, prjconf and the packages
in /srv/obs/build/$DISTRO/$ARCH/:full/ to build without the suse OBS
interconnect. Here you can add the rpms/debs you wish. Maybe the most
from an Install DVD and the additional packages from a repository (for
ubuntu the universe repository). But you need a bit free space per
distro. For example for Ubuntu you need about 10GB space (all
packages twice for i586 and x86_64 arch).

If you want to hold the project including the packages locally, I'll
answer you with the steps to do that.


To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >