From: Detlef Vollmann <dv@vollmann.ch>
To: openembedded-devel@openembedded.org
Subject: Binary packages (was: Task-base is big :( )
Date: Wed, 12 Sep 2007 14:02:31 +0200 [thread overview]
Message-ID: <46E7D557.FDC1B77@vollmann.ch> (raw)
In-Reply-To: 46E79AFE.9040304@xora.org.uk
This thread touches two very interesting, but not directly
related issues, so I decided to split here.
Graeme Gregory wrote:
> I personally think this discussion is a clear example of why Koen's
> work on packaged staging needs to be finished.
>
> Just think how much faster you could build if all the system did was
> download and install these dependencies rather than build them
> from scratch.
Exactly.
For our current project, we have a build system based on
Gentoo's portage, and we're currently planning to switch to
OpenEmbedded.
We want to be able to build everything ourselves from scratch,
and we do that. But we don't want to do that each time we
build an (internal) release (we do sometimes several releases
a week and a full build including toolchain takes about
two hours).
So in our current build system, we just use portage's --usepkg,
and if the package we want to build is already built and in
our repository, we just unpack that (unfortunately this doesn't
always work as expected, but that's a different story).
For OpenEmbedded, I looked at options how I could do something
similar, and I came up with some ideas.
First, we need to care for everything a recipe does.
For the staging part I hoped that packaged staging solves the
problem (and from the discussion in
http://bugs.openembedded.org/show_bug.cgi?id=354
I thought it might already work, but I didn't test it yet).
But there are other things (like ipkg-make-index) and I don't
know what to do about those. Possibly just not allowing
binary packages for such recipes.
Then we have the problem that most recipes build more than one ipk,
so we have to put all of them into one combined file, probably
an ipk package that just contains other ipk packages.
So I thought about two possible solutions to get binary packages:
one - to add an option like '--usepkg' to bitbake and let bitbake
take care of everything.
two - putting the required actions into the recipes themselves
(possibly by using some bbclasses).
http://bugs.openembedded.org/show_bug.cgi?id=2948
seems to implement this approach at least partly, but
I don't understand that fully yet and I still have to
test it to get a better feeling for it.
Detlef
--
Detlef Vollmann vollmann engineering gmbh
Linux and C++ for Embedded Systems http://www.vollmann.ch/
next prev parent reply other threads:[~2007-09-12 12:02 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-11 11:18 Task-base is big :( Marcin Juszkiewicz
2007-09-11 17:37 ` Leon Woestenberg
2007-09-11 19:27 ` Koen Kooi
2007-09-11 21:10 ` USE flags - why they won't work for OE Richard Purdie
2007-09-11 23:14 ` Leon Woestenberg
2007-09-12 5:55 ` Stelios Koroneos
2007-09-12 11:06 ` José Bernardo Bandos Rodrigues
2007-09-12 16:38 ` Darcy Watkins
2007-09-12 11:46 ` Leon Woestenberg
2007-09-12 21:35 ` Richard Purdie
2007-09-11 21:17 ` Task-base is big :( Richard Purdie
2007-09-11 22:22 ` Detlef Vollmann
2007-09-11 22:55 ` Leon Woestenberg
2007-09-12 5:56 ` Stelios Koroneos
2007-09-12 7:53 ` Graeme Gregory
2007-09-12 8:43 ` Koen Kooi
2007-09-12 12:02 ` Detlef Vollmann [this message]
2007-09-12 12:45 ` Detlef Vollmann
2007-09-12 23:21 ` Richard Purdie
2007-09-11 23:43 ` Dr. Michael Lauer
2007-09-12 6:04 ` Koen Kooi
2007-09-14 7:21 ` Splitting up bluez in a sane way, was " Koen Kooi
2007-09-14 9:22 ` Marcin Juszkiewicz
2007-09-14 9:44 ` Koen Kooi
2007-09-15 8:29 ` Koen Kooi
2007-09-15 12:31 ` Marcin Juszkiewicz
2007-09-15 12:59 ` Koen Kooi
2007-09-18 17:54 ` Koen Kooi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46E7D557.FDC1B77@vollmann.ch \
--to=dv@vollmann.ch \
--cc=openembedded-devel@lists.openembedded.org \
--cc=openembedded-devel@openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.