[yocto] Deleting layers in Hob

Paul Eggleton paul.eggleton at linux.intel.com
Fri Mar 30 05:19:15 PDT 2012


On Friday 30 March 2012 11:26:15 Barros Pena, Belen wrote:
> On 30/03/2012 07:32, "Khem Raj" <raj.khem at gmail.com> wrote:
> >On Thu, Mar 29, 2012 at 4:05 AM, Barros Pena, Belen
> ><belen.barros.pena at intel.com> wrote:
> >> Do we have enough information to make a decision about the meta-yocto
> >> layer? I don't understand all the technical details, but I am inclined
> >> to make it non-deletable in Hob (i.e. it is not possible to delete this
> >> layer in Hob).
> >> 
> >> What do you think?
> >
> >bad idea. Unless you intend to shackle hob to yocto. Is that the
> >intention ?
>
> Well: I don't know. Does anybody have an answer?

We don't want to tie hob to meta-yocto, no. The solution to this problem is to 
have Hob understand when removing a layer is removing the DISTRO selection 
that a user currently has made and warning them about it; if they respond in 
affirmative then DISTRO can be set to empty (or we can allow them to select an 
alternative, perhaps - something for the designers to consider). Fortunately 
since DISTRO points directly to a file in conf/distro/ the detection part is 
pretty easy to implement.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the yocto mailing list