From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Paul Eggleton <paul.eggleton@linux.intel.com>
Cc: yocto@yoctoproject.org
Subject: Re: Removing do_compile task and ordering problem
Date: Thu, 21 May 2015 15:29:17 +0100 [thread overview]
Message-ID: <1432218557.12832.23.camel@linuxfoundation.org> (raw)
In-Reply-To: <2022355.kJ2gG9TIlz@peggleto-mobl.ger.corp.intel.com>
On Thu, 2015-05-21 at 13:55 +0100, Paul Eggleton wrote:
> Hi Marcin,
>
> On Thursday 21 May 2015 12:47:05 Marcin Krzemiński wrote:
> > I am writing recipe that inherits from *native*.
> > I removed do_compile task using: *deltask do_compile*
> > When i was ruing bitbake my-recipe all works fine, but when I added recipe
> > to *EXTRA_IMAGEDEPENDS *and run* bitbake core-image-minimal *tasks were
> > reordered in some strange way that task do_install was performed before
> > do_fetch.
> > When I hanged *deltask do_compile *to *do_compile[noexec] = "1" * all went
> > back to normal.
> > I found *deltask *in manual so I do not know, is it a bug or not?
>
> I suspect this is because all deltask does is delete the task, it does not
> reconnect the dependency chain such that tasks that depended on the deleted
> task would depend on the tasks that the deleted task depended upon, so what
> you get in this case is do_install no longer having any dependencies. To be
> honest the current behaviour seems reasonable to me, though it is not
> immediately obvious and ought to be described in the manual. I think in your
> situation you really do want to set the noexec flag rather than using deltask.
Correct, this is basically the difference between deltask and noexec.
noexec has the behaviour you want in this case and we should clarify in
the manual.
Cheers,
Richard
prev parent reply other threads:[~2015-05-21 14:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-21 10:47 Removing do_compile task and ordering problem Marcin Krzemiński
2015-05-21 12:55 ` Paul Eggleton
2015-05-21 14:20 ` mar.krzeminski
2015-05-21 14:29 ` 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=1432218557.12832.23.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=paul.eggleton@linux.intel.com \
--cc=yocto@yoctoproject.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.