Bug 2613

Summary: [Hob2] Delete layer failed
Product: [Build System, Metadata & Runtime] Hob Reporter: Hongna Xu <hongnax.xu>
Component: hobAssignee: Dongxiao Xu <dongxiao.xu>
Status: VERIFIED NOTABUG QA Contact:
Severity: normal    
Priority: Medium CC: jessica.zhang, jiajun.xu, poky.bs.watcher, poky.watcher
Version: unspecified   
Target Milestone: 1.3 M2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---
Attachments:
Description Flags
delete Layer none

Description Hongna Xu 2012-06-15 10:07:39 UTC
Created attachment 589 [details]
delete Layer

with poky/1.3M1 commit 7f017cab0b3e4d5a4fc356eccd8eb8429b0531d0, when i delete layer it comes the attachment error.
my steps:
1. launch hob
2. click "icon" for "Layers", then choose one layer, for example, meta-intel and meta-sugarbay and add it into layers
3. check "Machine" list and sugarbay should be available
4. select sugarbay as MACHINE, after it parsing.
4. click "Layers" again and delete meta-sugarbay from "Layers"
Comment 1 Dongxiao Xu 2012-06-21 01:15:56 UTC
Hongna, did you enable multilib in your configuration?
Comment 2 Hongna Xu 2012-06-21 01:18:01 UTC
(In reply to comment #1)
> Hongna, did you enable multilib in your configuration?

no, all settings are default, i just add meta-intel/meta-sugarbay layer. you can't reproduce it?
Comment 3 Dongxiao Xu 2012-06-21 01:59:23 UTC
What's original behavor? 
Is there error reporting "Please set a valid MACHINE in Settings or environment"?
Comment 4 Dongxiao Xu 2012-06-27 00:42:22 UTC
I tried the 1.2 release, and there is also a warning reporting "Please set a valid MACHINE in Settings or environment". This is because we have deleted the layer that contains the MACHINE.

Now Hongna's report has a new message called "No tuning found for default multilib". This is because the new "check_toolchain" function could not find the appropriate "DEFAULTTUNE" with the original machine (since we have already deleted the layer), so this is an expected behavior.

But I need to clarify that the delete of layers are succeeded.

I suggest mark this bug as NOTABUG.
Comment 5 Hongna Xu 2012-07-11 01:39:27 UTC
Just like dongxiao said, it is an expected behavior.