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

Barros Pena, Belen belen.barros.pena at intel.com
Wed Apr 4 15:21:30 UTC 2012


Thanks for explaining, Shane. I now understand why you are doing it, but
people using Hob will not have the benefit of your explanation. They will
just see they selected a base image, made a small change to that base
image and when they go back to the Image configuration screen, Hob has
changed the base image they selected of its own accord.

Could the template have some "hidden" information indicating if a base
image has been customised and therefore the default contents of the base
image should be ignored and replaced with the remembered recipes and
packages? This way the template would still work, but Hob users will still
see their selected base image.

Belen

On 04/04/2012 13:58, "Wang, Shane" <shane.wang at intel.com> wrote:

>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

---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.





More information about the bitbake-devel mailing list