All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Purdie <rpurdie@rpsys.net>
To: openembedded-devel@openembedded.org
Cc: "openmoko-devel@lists.openmoko.org" <openmoko-devel@lists.openmoko.org>
Subject: Re: Should rm_work be moved after do_deploy, or is ${WORKDIR}	not available in do_deploy?
Date: Mon, 26 Feb 2007 11:03:55 +0000	[thread overview]
Message-ID: <1172487835.5824.16.camel@localhost.localdomain> (raw)
In-Reply-To: <45E16336.8060205@whitby.id.au>

On Sun, 2007-02-25 at 20:51 +1030, Rod Whitby wrote:
> Rod Whitby wrote:
> > A question for the OE core team representatives on the list:  Is
> > do_deploy prohibited from being able to get at things in ${WORKDIR}, or
> > should rm_work happen after do_deploy?
> 
> Never mind - it was simply the fact that do_deploy is badly placed in
> sjf2410-linux-native.bb, nothing to do with base OE or bitbake
> functionality.
> 
> Reported as
> http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=211
> and work-around added to MokoMakefile.
> 
> Sorry for the noise.

addtask deploy before do_build after do_compile

is actually correct as far as dependencies go but interacts badly with
rm_work.

This raises a long standing issue. do_rm_work should run as the last
task, just before do_build. Currently we have difficulty in inserting
that task into the task structure since the do_deploy isn't always
defined. The planned solution is to allow syntax like:

addtask rm_work after do_package do_deploy

and then lots of these tricky ordering issues can be solved in an easier
way. I've not remembered about this at the right time to implement it so
far though...

Cheers,

Richard





      reply	other threads:[~2007-02-26 11:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-25 10:00 Should rm_work be moved after do_deploy, or is ${WORKDIR} not available in do_deploy? Rod Whitby
2007-02-25 10:21 ` Rod Whitby
2007-02-26 11:03   ` Richard Purdie [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=1172487835.5824.16.camel@localhost.localdomain \
    --to=rpurdie@rpsys.net \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=openembedded-devel@openembedded.org \
    --cc=openmoko-devel@lists.openmoko.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.