Skip to contentSkip to conversation

Hob question: meta-yocto layer and 'defaultsetup' distro option

DISCUSSION Barros Pena, Belen 3 participants 5 messages Jul 2, 2012 – Jul 3, 2012

lore
Share & tools
lore
#0 lore raw

Hi all,

In the Hob settings, there is a drop down menu that allows you to select the distro. The menu includes an option called 'defaultsetup'. This option is selected when you delete the meta-yocto layer. I am sure it does something very important, but unfortunately the name is not very descriptive. Does anybody know what this option really mean?

If I delete the meta-yocto layer, am I supposed to provide the distro to be used via a layer or some other means?

Thanks!

Belen

---------------------------------------------------------------------
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.

#1 lore raw
Quoted 3 lines · Belen

If I delete the meta-yocto layer, am I supposed to provide the distro to be used via a layer or some other means?

OE-Core has reference distro policies which are enough to generate images by just using OE-Core and that is what happens when you drop meta-yocto its testing the reference distro setup from OE-Core

#2 lore raw

Thanks, Khem.

Just to make sure I understand this correctly: if I don't use the meta-yocto layer, OE-Core should provide reference distro policies that allow me to build an image. So I guess the 'defaultsetup' option in Hob is referring to those OE-Core policies. Shane, Dongxiao: could you confirm if this is the case?

Thanks!

Belen

Quoted 11 lines · Khem Raj
Quoted 3 lines · Belen

If I delete the meta-yocto layer, am I supposed to provide the distro to be used via a layer or some other means?

OE-Core has reference distro policies which are enough to generate images by just using OE-Core and that is what happens when you drop meta-yocto its testing the reference distro setup from OE-Core

---------------------------------------------------------------------
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.

#3 lore raw
Quoted 8 lines

-----Original Message-----
From: Barros Pena, Belen
Sent: Tuesday, July 03, 2012 7:04 PM
To: Khem Raj; Wang, Shane; Xu, Dongxiao
Cc: yocto
Subject: Re: [yocto] Hob question: meta-yocto layer and 'defaultsetup' distro option

Quoted 6 lines

Thanks, Khem.

Just to make sure I understand this correctly: if I don't use the meta-yocto layer, OE-Core should provide reference distro policies that allow me to build an image. So I guess the 'defaultsetup' option in Hob is referring to those OE-Core policies. Shane, Dongxiao: could you confirm if this is the case?

Yes, actually "defaultsetup" will be applied in default for any kind of layer settings, including the default OE-Core. The difference is, OE-Core only applies "defaultsetup", while for meta-yocto layer, we can add additional distro policies (poky, poky-bleeding, etc) to override some of the "defaultsetup" settings.

Thanks,
Dongxiao

Quoted 18 lines

Thanks!

Belen

Quoted 11 lines · Khem Raj
Quoted 3 lines · Belen

If I delete the meta-yocto layer, am I supposed to provide the distro to be used via a layer or some other means?

OE-Core has reference distro policies which are enough to generate images by just using OE-Core and that is what happens when you drop meta-yocto its testing the reference distro setup from OE-Core

#4 lore raw

Great. Thanks, Dongxiao.

I think it is a question of changing the label to make it a bit more self-explanatory, then. I'll try to come up with something.

Cheers

Belen

Quoted 19 lines · Dongxiao
Quoted 11 lines

-----Original Message-----
From: Barros Pena, Belen
Sent: Tuesday, July 03, 2012 7:04 PM
To: Khem Raj; Wang, Shane; Xu, Dongxiao
Cc: yocto
Subject: Re: [yocto] Hob question: meta-yocto layer and 'defaultsetup' distro
option

Thanks, Khem.

Quoted 7 lines

Just to make sure I understand this correctly: if I don't use the meta-yocto layer,
OE-Core should provide reference distro policies that allow me to build an
image. So I guess the 'defaultsetup' option in Hob is referring to those OE-Core
policies. Shane, Dongxiao: could you confirm if this is the case?

Quoted 28 lines

Yes, actually "defaultsetup" will be applied in default for any kind of layer settings, including the default OE-Core. The difference is, OE-Core only applies "defaultsetup", while for meta-yocto layer, we can add additional distro policies (poky, poky-bleeding, etc) to override some of the "defaultsetup" settings.

Thanks,
Dongxiao

Quoted 18 lines

Thanks!

Belen

Quoted 11 lines · Khem Raj
Quoted 3 lines · Belen

If I delete the meta-yocto layer, am I supposed to provide the distro to be used via a layer or some other means?

OE-Core has reference distro policies which are enough to generate images by just using OE-Core and that is what happens when you drop meta-yocto its testing the reference distro setup from OE-Core

---------------------------------------------------------------------
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.