[oe] [RFC] rm_work

Marcin Juszkiewicz openembedded at hrw.one.pl
Wed Apr 11 06:50:47 UTC 2007


Dnia niedziela, 8 kwietnia 2007, Richard Purdie napisał:

> 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?

I wrote rm_work.bbclass few years ago and it was always known as 'you can 
hit your own foot' solution due to lack of possibility to define WHEN 
exactly task will be started:

addtask rm_work right_before do_build after all_other_tasks

Maybe rm_work.bbclass should do:

BB_DEFAULT_TASK = "rm_work"
addtask rm_work after do_build

But I did not tested it yet (got that idea during Easter).

-- 
JID: hrw-jabber.org
OpenEmbedded developer/consultant

                            It is your destiny.
                            		-- Darth Vader






More information about the Openembedded-devel mailing list