All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Xu, Dongxiao" <dongxiao.xu@intel.com>
To: yocto <yocto@yoctoproject.org>
Subject: Deleting layers in Hob
Date: Tue, 27 Mar 2012 14:48:50 +0800	[thread overview]
Message-ID: <1332830930.4380.14.camel@dongxiao-osel> (raw)

When using Hob in Yocto Project, I found a issue when deleting layers. I
think I ever raised this problem before.

Let me briefly introduce how layer removal works in Hob. When user
changes a layer, it will following the below steps 
1) init the cooker.
2) set new layers to cooker.
3) parse configuration files.
4) get available machines, distros, SDKs, etc.

As we know, if we source oe-init-build-env in Yocto project environment,
we will have DISTRO="poky" set in local.conf by default, where the
"poky" DISTRO comes from the meta-yocto layer. If user deletes
meta-yocto in Hob, and then error will happen when bitbake parsing the
local.conf, since it could not find where the "poky" DISTRO is defined.

Even if we are able to successfully removed the meta-yocto layer by
removing the DISTRO definition in local.conf, system will report another
issue that:

Your configuration is using stamp files including the sstate hash but
your build directory was built with stamp files that do not include
this.
To continue, either rebuild or switch back to the OEBasic signature
handler with BB_SIGNATURE_HANDLER = 'OEBasic'.

This is because BB_SIGNATURE_HANDLER = "OEBasic" is also defined in
meta-yocto layer (poky.conf).


So it seems that in certain environment (e.x, Yocto Project), certain
layer (e.x, meta-yocto) should not be removed? 

Or any idea on how to solve this problem?

Thanks,
Dongxiao




             reply	other threads:[~2012-03-27  6:51 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-27  6:48 Xu, Dongxiao [this message]
2012-03-27  7:19 ` Deleting layers in Hob Lu, Lianhao
2012-03-27 16:56   ` Joshua Lock
2012-03-29 11:05     ` Barros Pena, Belen
2012-03-29 12:00       ` Xu, Dongxiao
2012-03-29 15:47         ` Barros Pena, Belen
2012-03-30  6:32       ` Khem Raj
2012-03-30 11:26         ` Barros Pena, Belen
2012-03-30 12:19           ` Paul Eggleton
2012-04-02 10:48             ` Barros Pena, Belen
2012-04-02 10:55               ` Paul Eggleton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1332830930.4380.14.camel@dongxiao-osel \
    --to=dongxiao.xu@intel.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.