[yocto] Basic question: "core-image-minimal" v.s "core-image-base" ?

Jerry Lian jerry.lian at gmail.com
Wed Oct 11 09:30:28 PDT 2017


Thanks for answers from Ross and Andre.
Now further question:
* If we look at file \poky\meta\recipes-core\images\core-image-minimal.bb
<http://core-image-base.bb>
========================================================
SUMMARY = "A small image just capable of allowing a device to boot."

IMAGE_INSTALL = "packagegroup-core-boot ${CORE_IMAGE_EXTRA_INSTALL}"

IMAGE_LINGUAS = " "

LICENSE = "MIT"

inherit core-image
========================================================
* "inherit core-image" *comes after* "IMAGE_INSTALL = ..."
* Will the "IMAGE_INSTALL" in this file be overridden by "IMAGE_INSTALL" in
"core-image"

So what is the rule for "overridden"?

On Tue, Oct 10, 2017 at 6:07 PM, Andre McCurdy <armccurdy at gmail.com> wrote:

> On Fri, Oct 6, 2017 at 1:40 PM, Jerry Lian <jerry.lian at gmail.com> wrote:
> > Hi, all:
> >
> > I have a basic question: how to tell the difference between
> > "core-image-minimal" and "core-image-base"?
> > * If we look at file \poky\meta\recipes-core\images\core-image-base.bb
> > ============================================================
> =======================
> > SUMMARY = "A console-only image that fully supports the target device
> > hardware."
> >
> > IMAGE_FEATURES += "splash"
> >
> > LICENSE = "MIT"
> >
> > inherit core-image
> > ============================================================
> =======================
> > * how can we tell that "core-image-base" will include "support for a
> variety
> > of hardware such as WIFI, bluetooth...", as compare to
> "core-image-minimal"?
> > * Do I miss any other document that I need to read?
>
> core-image-base takes the default value of IMAGE_INSTALL from
> meta/classes/core-image.bbclass, but core-image-minimal over-rides the
> default value and effectively removes packagegroup-base-extended.
>
> See meta/recipes-core/packagegroups/packagegroup-base.bb for more
> details of what gets pulled in by packagegroup-base-extended.
>
> > Thanks!
> > Jerry
> >
> > --
> > _______________________________________________
> > yocto mailing list
> > yocto at yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20171011/19a8591e/attachment.html>


More information about the yocto mailing list