[yocto] An added task is not run by bitbake, why is that ?

Biao huanmateme at 163.com
Thu Dec 20 01:45:49 PST 2012


Now i got it, when i issue "bitbake dummy", it will only try to do a "build" task, which is not DEPENDS on my task.
Thanks,

At 2012-12-20 15:28:31,Biao <huanmateme at 163.com> wrote:

Hi All,


 An added task is not run by bitbake, why is that ?
The meta-test layer setup is ok, you can forget this.


After i issue bitbake dummy, i found that it runs succeed with the tasks in base.bbclass, but my dummy1 is not run, why is that?


meta-test/dummy/dummy.0.0.bb
<pre>
DESCRIPTION = "A simply dummy package"


do_dummy0 () {
        bbnote "Doing Dummy0."
}


do_dummy1 () {
        bbnote "Doing Dummy1."
}


do_dummy2 () {
        bbnote "Doing Dummy2."
}


addtask dummy1 before do_dummy2 after do_dummy0
</pre>


Thanks,
Biao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20121220/004d11da/attachment.html>


More information about the yocto mailing list