Bug 2613 - [Hob2] Delete layer failed
Summary: [Hob2] Delete layer failed
Status: VERIFIED NOTABUG
Alias: None
Product: Hob
Classification: Build System, Metadata & Runtime
Component: hob (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.3 M2
Assignee: Dongxiao Xu
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2012-06-15 10:07 UTC by Hongna Xu
Modified: 2012-07-11 01:39 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments
delete Layer (309.75 KB, image/png)
2012-06-15 10:07 UTC, Hongna Xu
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.