Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Phil Blundell <philb@gnu.org>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [RFC] Initial Proposal for Packaged Staging Revamp (was [RFC] Make some big changes right after next stable)
Date: Fri, 05 Mar 2010 15:38:26 +0000	[thread overview]
Message-ID: <1267803506.14566.854.camel@mill.internal.reciva.com> (raw)
In-Reply-To: <b6ebd0a51003030909u58f72751u19f5b3caab614450@mail.gmail.com>

On Wed, 2010-03-03 at 10:09 -0700, Chris Larson wrote:
> To summarize, I propose the creation of an archive/package which acts as the
> primary artifact to come out of the build of a recipe.  By capturing *all*
> output of a recipe into a single place, we reduce confusion and make things
> easier to track.  Every subsequent task by the recipe (or other recipes)
> will go based on this archive (or cached, extracted contents of this
> archive, for performance).  Builds from cached binaries would operate based
> on this archive, so that the execution of the subsequent tasks would be
> identical between the prebuilt and from scratch cases, and it makes it clear
> that this is not just "packaged staging" in concept or intent.

Yes, this is pretty much what I have been thinking of as well.  I think
the only real difference between what you have suggested here and what I
have had mind is that I was originally planning to re-use the existing
binary package output (i.e. what you get from do_package) to populate
the staging directory.  The nice thing about that approach is that it
guarantees that you will get the same result for an in-tree OE build
compared to an on-target build against the installed -dev packages,
which would help to avoid some of the issues we have had in the past
with the -dev packages being defective through lack of testing.

Indeed, one of the main motivations for the work that I have been doing
on the toolchain-desuck branch is to remove the special-casing of the
toolchain recipes so that they just generate output packages which you
can then install in the same way as anything else.

Introducing a new archive format which captures the entirety of the
build output up to and including do_install is indeed quite tempting as
well, though.

p.




      parent reply	other threads:[~2010-03-05 15:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-03 17:09 [RFC] Initial Proposal for Packaged Staging Revamp (was [RFC] Make some big changes right after next stable) Chris Larson
2010-03-03 17:17 ` Koen Kooi
2010-03-04 10:15   ` Richard Purdie
2010-03-03 17:43 ` Richard Purdie
2010-03-03 18:28   ` Chris Larson
2010-03-03 19:50     ` Frans Meulenbroeks
2010-03-04 10:09     ` Richard Purdie
2010-03-05 15:38 ` Phil Blundell [this message]

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=1267803506.14566.854.camel@mill.internal.reciva.com \
    --to=philb@gnu.org \
    --cc=openembedded-devel@lists.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox