Mailinglist Archive: opensuse-buildservice (366 mails)

< Previous Next >
Re: [opensuse-buildservice] Adding Deb repositories from Build Service
  • From: Stephan Hermann <sh@xxxxxxxxxxxxx>
  • Date: Fri, 10 Aug 2007 09:27:09 +0200
  • Message-id: <46BC134D.10906@xxxxxxxxxxxxx>
Hi John

John Pye schrieb:
Adrian Schröter wrote:
On Thursday 09 August 2007 15:54:55 wrote John Pye:
Hi all

It's pretty easy to add a .repo file from to one's
yum.repos.d in order to get easy access to packages that have been built
on the Build Service.

What is the equivalent thing for Debian packages? In that case I need a
.list file that I can put in /etc/apt/sources.list.d/, or else just a
line something like this:

deb feisty free non-free

Any suggestions?
I have no clue about debian, but we can generate you any file, if you describe what would be needed ...

OK. When it comes to packaging I am better with RPM as well, but I will
tell you what I can.

Here is a file from my /etc/apt/sources.list.d folder:

john@thunder:~$ cat /etc/apt/sources.list.d/medibuntu.list ## Medibuntu
- Ubuntu 7.04 "feisty fawn"
## Please report any bug on
deb feisty free non-free
#deb-src feisty free non-free

If I take a look at the URL there, I see
a a GPG file, and two folders, one called 'pool' and the other called
'dists'. The latter contains a folder called 'feisty' as well as several
others. The 'feisty' directory contains subfolders 'free', 'non-free',
then some gzipped files called Contents* and a file called 'Release'
which contains some MD5 sums for various other files.

The information about how this is set up appears to be given at

The key thing seems to be that as opposed to Yum repositories, APT
repositories inherently deal with multiple releases, so perhaps in your
case, the xUbuntu 6.06 and xUbuntu 7.04 repositories should share a
single APT repo. Or perhaps not.
There is a difference how the buildservice works and how the e.g. ubuntu repositories are working.
The apt-ftparchive repositories are able to deal with multiple releases, just because there are different release files.
apt-* can fetch those different files, because you write the index key into the apt/sources.list (feisty e.g. is one of the indexes, and main, restricted universe etc. are different sub-sections).

Compiling works like this on Ubuntu:

restricted is build against main, universe is build against main and restricted, multiverse is build against main and restricted, not universe.

So, it would be easy to set this up for OBS.

One repository just with main.
One repository for restricted, with build deps from main
One repository for universe with build-deps from restricted, just because it inherits main
One repository for multiverse with build-deps from restricted, just because it inherits main

But OBS is working with a single repository (arch dependent and arch independend packages inside one directory) e.g. for feisty you have a build tree like this:


Why i didn't try is the above example...


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

< Previous Next >