All of lore.kernel.org
 help / color / mirror / Atom feed
From: Koen Kooi <k.kooi@student.utwente.nl>
To: Using the OpenEmbedded metadata to build Distributions
	<openembedded-devel@openembedded.org>
Subject: RFC: make do_deploy operate on packages instead of ${S}
Date: Thu, 06 Dec 2007 13:10:51 +0100	[thread overview]
Message-ID: <4757E6CB.5010000@student.utwente.nl> (raw)

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

Hi,

Richard recently merged packaged-staging2, which highlighted a
fundamental problem in how we implement do_deploy.

But let me define do_deploy first:

  do_deploy puts files somewhere in ${DEPLOY_DIR} for the users
convenience and/or for further do_deploy steps.

With packaged-staging2 all build steps of recipes in DEPENDS are skipped
except for do_populate_staging, which in essence only unpacks an
archive. Which means do_deploy can't fish in ${S} anymore to find the
stuff it needs.

If we look at two of the heaviest do_deploy users (linux kernels and
uboot) we see than do_deploy can be implemented by unpacking the
kernel-image and u-boot packages.  If it would need files that aren't
packaged for good reasons, those files should be moved to staging and
accessed from there.

Note that these problems only surface when doing a clean build using
existing packages and pstage packages. The first build will succeed
because staging hasn't been packaged yet.

Comments?

regards,

Koen

- --
koen@dominion.kabel.utwente.nl will go go away in december 2007, please
use k.kooi@student.utwente.nl instead.

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

iD8DBQFHV+bLMkyGM64RGpERAo2rAJ4glb/q44M65LTJj5PgrnrN1p1EMACaAxAZ
XEYFjIgo2fvcq5A1yDw69oo=
=Bwg0
-----END PGP SIGNATURE-----



             reply	other threads:[~2007-12-06 12:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-06 12:10 Koen Kooi [this message]
2007-12-06 21:52 ` RFC: make do_deploy operate on packages instead of ${S} Paul Sokolovsky

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=4757E6CB.5010000@student.utwente.nl \
    --to=k.kooi@student.utwente.nl \
    --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.