All of lore.kernel.org
 help / color / mirror / Atom feed
* packages
@ 2010-08-26 17:36 C Michael Sundius
  2010-09-28  3:02 ` packages Khem Raj
  0 siblings, 1 reply; 3+ messages in thread
From: C Michael Sundius @ 2010-08-26 17:36 UTC (permalink / raw)
  To: openembedded-devel

I'm trying to understand how package feeds work. From the documentation it
seems
that you can use a package feed to install prebuilt packages onto a running
taget.
but what I'd like to do is to have OE look to see if a pre built package
exists before it
goes and builds one. Sort of like a packaged staging, but distributed, so
anyone could
pick up the package it needs from a single server, rather than having to
build it first


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: packages
  2010-08-26 17:36 packages C Michael Sundius
@ 2010-09-28  3:02 ` Khem Raj
  2010-09-28  6:59   ` packages Frans Meulenbroeks
  0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2010-09-28  3:02 UTC (permalink / raw)
  To: openembedded-devel

On (26/08/10 10:36), C Michael Sundius wrote:
> I'm trying to understand how package feeds work. From the documentation it
> seems
> that you can use a package feed to install prebuilt packages onto a running
> taget.
> but what I'd like to do is to have OE look to see if a pre built package
> exists before it
> goes and builds one. Sort of like a packaged staging, but distributed, so
> anyone could
> pick up the package it needs from a single server, rather than having to
> build it first

hmm interesting. I dont think anything like that exist in OE although it
seems interesting

> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: packages
  2010-09-28  3:02 ` packages Khem Raj
@ 2010-09-28  6:59   ` Frans Meulenbroeks
  0 siblings, 0 replies; 3+ messages in thread
From: Frans Meulenbroeks @ 2010-09-28  6:59 UTC (permalink / raw)
  To: openembedded-devel

2010/9/28 Khem Raj <raj.khem@gmail.com>:
> On (26/08/10 10:36), C Michael Sundius wrote:
>> I'm trying to understand how package feeds work. From the documentation it
>> seems
>> that you can use a package feed to install prebuilt packages onto a running
>> taget.
>> but what I'd like to do is to have OE look to see if a pre built package
>> exists before it
>> goes and builds one. Sort of like a packaged staging, but distributed, so
>> anyone could
>> pick up the package it needs from a single server, rather than having to
>> build it first
>
> hmm interesting. I dont think anything like that exist in OE although it
> seems interesting

what about running opkg natively, retrieve index, then check if the
package is there and if not bitbake the recipe.

rough skets for a oneliner (untested)
opkg update; opkg whatprovides -A mypackage >/dev/null 2>&1 || bitbake
mypackage

if you want to fetch from remote it becomes a liitle bit more complex.

Note though that what you get from the external feed might be
different from what you get when you build things yourself as there
are sometimes dependencies on what has been build before.
(e.g. a configure enabling additional functionality because it finds
libXYZ because it happened to be build before, but is not listed as
explicit dependency)

frans



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-09-28  6:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-26 17:36 packages C Michael Sundius
2010-09-28  3:02 ` packages Khem Raj
2010-09-28  6:59   ` packages Frans Meulenbroeks

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.