Bug 8795

Summary: In the build history information, layer names equal their directory name, not the layer name
Product: [Build System, Metadata & Runtime] Toaster Reporter: Belen Barros Pena <belen.barros.pena>
Component: toasterAssignee: Belen Barros Pena <belen.barros.pena>
Status: VERIFIED WORKSFORME QA Contact: Alexandru Roman <alexandru.costinx.roman>
Severity: normal    
Priority: Medium CC: alexandru.costinx.roman, belen.barros.pena, jessica.zhang, stanciux.mihail
Version: 2.0   
Target Milestone: 2.1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
configuration page none

Description Belen Barros Pena 2015-12-11 17:03:27 UTC
To see what I mean, you can do the following:

* Create a Toaster project (with the master release, for example)
* Add the meta-raspberrypi layer. You will be asked to add also meta-oe
* Change the machine to 'raspberrypi2'
* Build rpi-basic-image

When the build stops, click on the target name and go to the Configuration page. In the table of layers, the layer name of meta-oe shows as meta-oe, but the layer name for meta-raspberrypi is 

_git___git.yoctoproject.org_meta-raspberrypi_master

which is the name of the layer directory inside the _toaster_clones directory. The meta-oe layer directory is

_git___git.yoctoproject.org_meta-openembedded_master/meta-oe

And that's why Toaster shows it as 'meta-oe' in the build information.

Ideally, Toaster should show the layer name, and not the name of the layer directory.
Comment 1 Ed Bartosh 2016-01-27 12:06:53 UTC
Created attachment 2951 [details]
configuration page

screenshot of build configuration view
Comment 2 Ed Bartosh 2016-01-27 12:08:59 UTC
I can't reproduce this on master 3d2c0f5902cacf9d8544bf263b51ef0dd1a7218c.
I can see layer name for meta-raspberrypi layer just fine. See the attached screenshot.
Comment 3 Belen Barros Pena 2016-01-28 11:39:30 UTC
(In reply to comment #2)
> I can't reproduce this on master 3d2c0f5902cacf9d8544bf263b51ef0dd1a7218c.
> I can see layer name for meta-raspberrypi layer just fine. See the attached
> screenshot.

Well, magic self-fixing bug! :) I can no longer reproduce this one either, so setting to resolved - worksforme
Comment 4 Alexandru Roman 2016-02-01 07:57:13 UTC
Verified on master: 3d2c0f5902cacf9d8544bf263b51ef0dd1a7218c