Skip to contentSkip to conversation

3rd party feeds

DISCUSSION Robert Schuster 3 participants 5 messages Sep 10, 2007

lore
Share & tools
lore
#0 lore raw

Hi,
suppose I am a 3rd party which develops and maintains packages for a distribution (e.g. angstrom).

how can I provide those packages (say foo) and their dependendencies (minus the ones that are already provided by angstrom itself) via a feed.

To better explain what I mean here is an example. Suppose package foo is not part of the Angstrom distribution nor is it in its feeds. foo has a dependency on gtk+ (= part of Angstrom) and libbaz (= not part of Angstrom).

I want to built foo and the feed containing it with a single command:

bitbake angstrom-plus-feed

When it finishes I want to have a complete ipk feed which I can copy onto a server. It should contain foo, libbaz and not gtk+. Users should then add the URL for that feed into their machines and be able to install "foo" along with the dependencies. foo and libbaz will be fetched from my feed, gtk+ should be fetched from angstrom feed.

It is clear that I have to built all the angstrom packages on the build machine and possibly won't be able to suppress the do_package phase but that is not a problem.

Has OE support for such an approach? If not would you be interested in patches allowing it?

So far I have "emulated" this by using a special PACKAGE_ARCH but that is not really a solution.

Regards
Robert

#2 lore raw
In reply to Robert Schuster

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Robert Schuster schreef:

Quoted 6 lines

Hi,
suppose I am a 3rd party which develops and maintains packages for a distribution (e.g. angstrom).

how can I provide those packages (say foo) and their dependendencies (minus the ones that are already provided by angstrom itself) via a feed.

You ping the angstrom maintainers and they will build that package and put it in the angstrom feeds.

Angstrom *highly* discourages people to add random feeds from the internet.

regards,

Koen

Quoted 29 lines

To better explain what I mean here is an example. Suppose package foo is not part of the Angstrom distribution nor is it in its feeds. foo has a dependency on gtk+ (= part of Angstrom) and libbaz (= not part of Angstrom).

I want to built foo and the feed containing it with a single command:

bitbake angstrom-plus-feed

When it finishes I want to have a complete ipk feed which I can copy onto a server. It should contain foo, libbaz and not gtk+. Users should then add the URL for that feed into their machines and be able to install "foo" along with the dependencies. foo and libbaz will be fetched from my feed, gtk+ should be fetched from angstrom feed.

It is clear that I have to built all the angstrom packages on the build machine and possibly won't be able to suppress the do_package phase but that is not a problem.

Has OE support for such an approach? If not would you be interested in patches allowing it?

So far I have "emulated" this by using a special PACKAGE_ARCH but that is not really a solution.

Regards
Robert

Quoted 6 lines

------------------------------------------------------------------------

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFG5PErMkyGM64RGpERApTjAKCAz9Q3CNNF82oKIxIIXjobT3llNwCff8ts yerGF07VYo4p6TpuO9dwBpA=
=6235
-----END PGP SIGNATURE-----

#3 lore raw

Hi Koen,

Quoted 2 lines

You ping the angstrom maintainers and they will build that package and put it in the angstrom feeds.

Right. Pushing things upstream is the best solution.

Sadly not every distribution has maintainers to ping. There are devices which are equipped with OE-built distributions for which no public distro.conf exists[0].

Quoted 1 line

Angstrom *highly* discourages people to add random feeds from the internet.

Sure, but I am not convinced that this holds for other distributions. Angstrom was meant to be a placeholder in my previous mail.

Regards
Robert

[0] - http://bugs.openembedded.org/show_bug.cgi?id=2664

#4 lore raw

Hi,

Quoted 11 lines · Robert Schuster
Quoted 2 lines

You ping the angstrom maintainers and they will build that package and put it in the angstrom feeds.

Right. Pushing things upstream is the best solution.

Sadly not every distribution has maintainers to ping. There are devices which are equipped with OE-built distributions for which no public distro.conf exists[0].

Quoted 1 line

Angstrom *highly* discourages people to add random feeds from the internet.

Sure, but I am not convinced that this holds for other distributions. Angstrom was meant to be a placeholder in my previous mail.

I'd recommend implementing what you're after as a script to run against OE's deploy directory creating a new directory with just the ipks you need in it. I would not alter OE's directories directly since that has potential to break subsequent builds in weird ways.

I'd hope most people don't need to resort to doing this although I can understand why some would want to.

Regards,

Richard