[oe] Bitbaking while modifying recipes

Chris Larson clarson at kergoth.com
Thu Oct 14 20:35:42 UTC 2010


On Thu, Oct 14, 2010 at 1:14 PM, Ash Charles <ashcharles at gmail.com> wrote:

> Hi,
>
> At what point in bitbaking a recipe is it safe to start modifying the
> recipe without risk of messing up the current bitbake build?  I often
> find myself kicking off a bitbake and then wanting to do some git
> operations in my openembedded recipes tree.  Previously I've resisted
> the urge to mess around until whatever is being bitbaked is done but I
> suspect that I'd be fine to make changes as soon as the parse step is
> completed.  Is this correct?


Unfortunately not.  As things stand today, the upfront parsing phase is only
used to populate the cache / obtain the info necessary to construct the
runqueue.  The recipes are actually *reparsed* when each task is executed.
 The time taken by the parse is rather trivial, so its not much of an issue,
but I do have a patch in queue from a coworker to make it cache the parsed
recipe until the last task for that recipe is run.

So, basically, continue to resist the urge :)
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics



More information about the Openembedded-devel mailing list