Tuesday, January 12, 2010

Bitbake how to rebuild easy

My proposal is TAKE SNAP SHOT.


When change foo.config for configure.
Bitbake does not rebuild include that reconfigure pkg.
For example, When add some recipes to ~/images/omap3-console-image.bb.
1st build,that added recipes include for deploy images.

But

,when need reconfigure again for that. 2nd times,never include what you want.(from my experience).
It is sure rebuild by rm -rf tmp, But it will make again soooooooooooooo long building time.
My Idea is use VM.(many people use it,when developing)
It is best use-case that TAKE SNAP SHOT since VM take snap shot history ever(maybe), Just build simple omap3-console-image then Take snap shot and after that easy to add recipes,reconfigure,rebuild... also faster.

No comments:

Post a Comment