On Thu, 21 Nov 2013, Nicolas Dechesne wrote:

>
> On Thu, Nov 21, 2013 at 7:35 PM, Rifenbark, Scott M 
> <scott.m.rifenb...@intel.com> wrote:
>       >suggests that, to customize an image, you should copy the existing .bb 
> file for
>       >that image to another name and add a line like:
>       >
>       >  IMAGE_INSTALL += "strace"
>       >
>       >but rather than *copy* the entire image file, isn't it easier to use 
> what's
>       >already being used; that is, just "include" or "require" the existing 
> .bb file.
>       >example: core-image-minimal-mtdutils.bb contains:
>
>
> i would agree with the doc. while it is tempting to include/require
> a 'minimal' image, and it is simpler at first sight, eventually you
> will need to have full control of all your image. especially when
> your 'image' is your 'product' that gets deployed. In such
> circumstances I believe it is more appropriate to not rely on an
> external recipe. e.g. if the minimal image you include change, all
> your derived images change too... 
>
> it's kind of a 'taste' choice, and you might want to choose to do
> differently, but still the best recommendation to me is to own your
> image recipes completely...

  your logic is sound; however, it's also reasonable to suspect that
if someone is going to create a new, initial image over which they
want full control, they may very well want to create some subtle
variants of that image (as is done with all those core images).

  so perhaps both approaches should be documented with the appropriate
caveats?

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to