[bitbake-devel] howto rerun a task whenever it's content chang

张忠山 zzs213 at 126.com
Tue Aug 9 14:19:26 UTC 2016


> Can you share the task, and what release of bitbake you are using?  As
> you say, this should work fine.
>

Yes ofcourse!

the attach is my test project, just according the bitbake manual's 
printhello example.

my bitbake was cloned from 'git://git.openembedded.org/bitbake'
and using revision id was: 309f5907a3661821e041ed14645b5d165007b058

Run 'bitbake printhello' firstime the output is:

$ bitbake printhello
Parsing recipes: 100% 
|##########################################################################################################| 
Time: 00:00:00
Parsing of 1 .bb files complete (0 cached, 1 parsed). 1 targets, 0 
skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing RunQueue
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 1 tasks of which 1 didn't need to be 
rerun and all succeeded.

Then edit do_build task, run 'bitbake printhello' secondtime the output is:
$ bitbake printhello
Parsing recipes: 100% 
|##########################################################################################################| 
Time: 00:00:00
Parsing of 1 .bb files complete (0 cached, 1 parsed). 1 targets, 0 
skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing RunQueue
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 1 tasks of which 1 didn't need to be 
rerun and all succeeded.


help me please!!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: hello.tar.bz2
Type: application/x-bzip
Size: 1481 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20160809/a10da66c/attachment-0002.bin>


More information about the bitbake-devel mailing list