[oe] [RFC] rm_work

Richard Purdie rpurdie at rpsys.net
Sun Apr 8 16:17:48 UTC 2007


On Sun, 2007-04-08 at 00:03 +0200, Holger Freyther wrote:
> NOTE: package sjf2410-linux-native-20060807-r1_0: task do_rm_work:  
> started
> NOTE: package sjf2410-linux-native-20060807-r1_0: task do_rm_work:  
> completed
> NOTE: package sjf2410-linux-native-20060807-r1_0: task do_deploy:  
> started
> ERROR: function do_deploy failed
[...]
> Wow, don't ask whom I paid for this... This is one of the reasons I  
> believe that this functionality belongs into bitbake itself. It is  
> the only way to reliable call a task after do_build!
> 
> RP do you have comments on that one?

Even if you do this in bitbake itself, what happens if two tasks want to
run last before do_build? Which do you choose?

My thoughts are that we need to improve the way we specify tasks to be
able to specify this kind of relationship more accurately. Even the
form:

addtask rm_work before do_build after do_package_write do_deploy

where the tasks might not always exist might be enough to get things
working?

Cheers,

Richard








More information about the Openembedded-devel mailing list