Skip to contentSkip to conversation

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

DISCUSSION Biao 1 participant 2 messages Dec 20, 2012

lore
Share & tools
lore

Biao

author
#0 lore raw

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

author
#1 lore raw

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 <[email protected]> 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