Bug 8795 - In the build history information, layer names equal their directory name, not the layer name
Summary: In the build history information, layer names equal their directory name, not...
Status: VERIFIED WORKSFORME
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: 2.0
Hardware: x86 Multiple
: Medium normal
Target Milestone: 2.1
Assignee: Belen Barros Pena
QA Contact: Alexandru Roman
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-12-11 17:03 UTC by Belen Barros Pena
Modified: 2016-02-01 07:57 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
configuration page (189.80 KB, image/png)
2016-01-27 12:06 UTC, Ed Bartosh
no flags Details

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