[bitbake-devel] [PATCH 09/10] Hob: Change base image to "Create your own image" if customized

Wang, Shane shane.wang at intel.com
Wed Apr 4 12:58:42 UTC 2012


Barros Pena, Belen wrote on 2012-04-03:

> From the design side of things, I am not sure this is a good idea. I've
> explicitly selected 'base image x'. If I then customise it, I still think
> I am working on 'base image x'. I might not understand why my selection of
> base image has been changed automatically. In general, it is not a good
> idea to have software that changes things I do of its own accord. Such
> behaviours undermine the sense of control users should have when
> interacting with software.
> 
> Cheers
> 
> Belen
> 

What we want is to change the item in the base image combo. The target image is still based on the base image the user selected plus delta.
We have the strict definition for the predefined base images. For instance, sato includes 300 recipes.
An image including 299 recipes is not called sato but your own image (say, sato-minus)

The reason why we do that is because for templates, we will remember the item in the image combo as the base image in some bb file, and we also remember what we selected for the recipes and the packages. However, the base image covers all of them by default and because of that, bitbake can't recognize the delta and will include all (300 recipes), which causes the wrong behavior.

--
Shane




More information about the bitbake-devel mailing list