Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: Task after do_package repeating despite stamp
Date: Thu, 15 Mar 2012 08:19:54 +0000	[thread overview]
Message-ID: <1331799594.18586.61.camel@ted> (raw)
In-Reply-To: <E7A9054A5ACABE48B0E540E46E862B0F0426C4F7@NAEMMAIL01.na.leapfrog.com>

On Thu, 2012-03-15 at 01:11 +0000, Daniel Lazzari wrote:
> Let me preface this by saying I'm running an older oe-core (Angstrom) so this may be fixed in the latest, but if so, I'm hoping someone can point me at the patch to fix it.
> 
> I have a few recipes in our layer that need to generate proprietary packages from ${D} after the do_package task has copied the files for its own devices. To do this, I have a task like:
> 
> do_create_foo() {
> 	#Generate foo package here
> 	foo_pkger ${D} ${DEPLOY_DIR}/foo/${MACHINE}
> }
> addtask create_foo after do_package before do_build
> do_create_foo[dirs] = "${DEPLOY_DIR}/foo/${MACHINE}"
> 
> The problem is, when building any recipe that depends on this recipe,
> it reruns do_create_foo. This is especially problematic because we use
> rm_work, so often when it goes back to rerun do_create_foo, ${D} no
> longer exists. I checked and a stamp exists for the task.
> 
> Anyone have any insight? Is anyone else seeing something like this?

It looks like you're creating something machine specific since you're
placing it in ${MACHINE}. This effectively makes anything depending on
this task machine specific also.

Cheers,

Richard




  reply	other threads:[~2012-03-15  8:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-15  1:11 Task after do_package repeating despite stamp Daniel Lazzari
2012-03-15  8:19 ` Richard Purdie [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-03-15  2:15 Daniel Lazzari
2012-03-15 19:13 Daniel Lazzari
2012-03-15 20:57 ` Richard Purdie

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=1331799594.18586.61.camel@ted \
    --to=richard.purdie@linuxfoundation.org \
    --cc=openembedded-core@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