All of lore.kernel.org
 help / color / mirror / Atom feed
* Basic question: "core-image-minimal" v.s "core-image-base" ?
@ 2017-10-09 15:08 Jerry Lian
  2017-10-10 22:07 ` Burton, Ross
  0 siblings, 1 reply; 6+ messages in thread
From: Jerry Lian @ 2017-10-09 15:08 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 770 bytes --]

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
<http://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?

Thanks!

[-- Attachment #2: Type: text/html, Size: 1049 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Basic question: "core-image-minimal" v.s "core-image-base" ?
  2017-10-09 15:08 Basic question: "core-image-minimal" v.s "core-image-base" ? Jerry Lian
@ 2017-10-10 22:07 ` Burton, Ross
  0 siblings, 0 replies; 6+ messages in thread
From: Burton, Ross @ 2017-10-10 22:07 UTC (permalink / raw)
  To: Jerry Lian; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 1061 bytes --]

On 9 October 2017 at 16:08, Jerry Lian <jerry.lian@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
> <http://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?
>

"diff" is your friend.  You'll see that core-image-minimal explicitly sets
IMAGE_INSTALL, which is otherwise set by core-image to respect
IMAGE_FEATURES and other variables.

Ross

[-- Attachment #2: Type: text/html, Size: 1641 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Basic question: "core-image-minimal" v.s "core-image-base" ?
  2017-10-11 16:30   ` Jerry Lian
@ 2017-10-11 17:57     ` Andre McCurdy
  0 siblings, 0 replies; 6+ messages in thread
From: Andre McCurdy @ 2017-10-11 17:57 UTC (permalink / raw)
  To: Jerry Lian; +Cc: Yocto discussion list

On Wed, Oct 11, 2017 at 9:30 AM, Jerry Lian <jerry.lian@gmail.com> wrote:
> Thanks for answers from Ross and Andre.
> Now further question:
> * If we look at file \poky\meta\recipes-core\images\core-image-minimal.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"?

http://www.yoctoproject.org/docs/2.3/bitbake-user-manual/bitbake-user-manual.html#basic-syntax


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Basic question: "core-image-minimal" v.s "core-image-base" ?
  2017-10-10 22:07 ` Andre McCurdy
@ 2017-10-11 16:30   ` Jerry Lian
  2017-10-11 17:57     ` Andre McCurdy
  0 siblings, 1 reply; 6+ messages in thread
From: Jerry Lian @ 2017-10-11 16:30 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 2196 bytes --]

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@gmail.com> wrote:

> On Fri, Oct 6, 2017 at 1:40 PM, Jerry Lian <jerry.lian@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@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
> >
>

[-- Attachment #2: Type: text/html, Size: 3563 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Basic question: "core-image-minimal" v.s "core-image-base" ?
  2017-10-06 20:40 Jerry Lian
@ 2017-10-10 22:07 ` Andre McCurdy
  2017-10-11 16:30   ` Jerry Lian
  0 siblings, 1 reply; 6+ messages in thread
From: Andre McCurdy @ 2017-10-10 22:07 UTC (permalink / raw)
  To: Jerry Lian; +Cc: Yocto discussion list

On Fri, Oct 6, 2017 at 1:40 PM, Jerry Lian <jerry.lian@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@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Basic question: "core-image-minimal" v.s "core-image-base" ?
@ 2017-10-06 20:40 Jerry Lian
  2017-10-10 22:07 ` Andre McCurdy
  0 siblings, 1 reply; 6+ messages in thread
From: Jerry Lian @ 2017-10-06 20:40 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 773 bytes --]

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
<http://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?

Thanks!
Jerry

[-- Attachment #2: Type: text/html, Size: 1026 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-10-11 17:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-09 15:08 Basic question: "core-image-minimal" v.s "core-image-base" ? Jerry Lian
2017-10-10 22:07 ` Burton, Ross
  -- strict thread matches above, loose matches on Subject: below --
2017-10-06 20:40 Jerry Lian
2017-10-10 22:07 ` Andre McCurdy
2017-10-11 16:30   ` Jerry Lian
2017-10-11 17:57     ` Andre McCurdy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.