Bug 6962 - The openembedded-core layer shows as 'meta' in the all targets page when using the local release
Summary: The openembedded-core layer shows as 'meta' in the all targets page when usin...
Status: VERIFIED FIXED
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: 1.7
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 1.8 M2
Assignee: Alexandru Damian
QA Contact: Ionut Chisanovici
URL:
Whiteboard:
Depends on: 7172
Blocks:
  Show dependency tree
 
Reported: 2014-11-13 13:38 UTC by Belen Barros Pena
Modified: 2015-01-29 12:10 UTC (History)
5 users (show)

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


Attachments
all_targets_layer (303.00 KB, image/png)
2015-01-29 12:10 UTC, Ionut Chisanovici
no flags Details
image_recipes_page (293.18 KB, image/png)
2015-01-29 12:10 UTC, Ionut Chisanovici
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Belen Barros Pena 2014-11-13 13:38:05 UTC
When you create a Toaster project using the local release (i.e. your local checkout / download of the Yocto Project), the openembedded-core layer shows as
'meta' in the all targets table. We should show 'openembedded-core' everywhere. 

Also, for the 'meta' layer, the layer source information is blank.
Comment 1 Alexandru Damian 2014-11-25 16:35:52 UTC
Pushed for review on toaster/master
Comment 2 Belen Barros Pena 2014-11-26 11:12:52 UTC
I am not able to test this in toaster/master. When I create a project with release 'local' and I build something, the build fails with this error

Error type <class 'bldcontrol.bbcontroller.BuildSetupException'>:

Existing git repository at /home/yocto/poky, but with different
remotes (not 'git://git.yoctoproject.org/poky.git'). Aborting.

DEBUG: giturl  git://git.yoctoproject.org/poky.git checking out in
current directory /home/yocto/poky
 EE Error executing shell command
Existing git repository at /home/yocto/poky, but with different
remotes (not 'git://git.yoctoproject.org/poky.git'). Aborting.
Traceback (most recent call last):
  File "/home/yocto/poky/bitbake/lib/toaster/bldcontrol/management/commands/runbuilds.py",
line 51, in schedule
    bec.setLayers(br.brbitbake_set.all(), br.brlayer_set.all())
  File "/home/yocto/poky/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py",
line 162, in setLayers
    raise BuildSetupException("Existing git repository at %s, but with
different remotes (not '%s'). Aborting." % (localdirname, giturl))
BuildSetupException: Existing git repository at /home/yocto/poky, but
with different remotes (not 'git://git.yoctoproject.org/poky.git').
Aborting.

If you have a workaround, let me know.
Comment 3 Belen Barros Pena 2014-11-26 17:24:52 UTC
Managed to test this. Seems to work on toaster/master:24543729ce3689924e0b5090527c3c061ebdc6d5
Comment 4 Alexandru Damian 2015-01-09 11:53:29 UTC
Fix was merged in master
Comment 5 Ionut Chisanovici 2015-01-20 16:30:03 UTC
Hi,

This is reopened as it depends on https://bugzilla.yoctoproject.org/show_bug.cgi?id=7203

Cheers,
Ionut C
Comment 6 Alexandru Damian 2015-01-23 17:52:41 UTC
Fixed again as 7203/7147 is closed.
Comment 7 Belen Barros Pena 2015-01-26 11:54:45 UTC
We cannot verify this until we have a fix for bug 7189
Comment 8 Ionut Chisanovici 2015-01-29 10:53:44 UTC
Hi,

This is verified in master, commit: 07f2eca7e9f9163ec48d3a417d8ba885a84762f3.
Openembedded-core is shown instead of meta in the all targets page.

Cheers,
Ionut C
Comment 9 Belen Barros Pena 2015-01-29 11:06:15 UTC
This is not resolved: layer information is coming as 'unknown' in 

master:	07f2eca7e9f9163ec48d3a417d8ba885a84762f3

This problem is reported on bug 7172. Until that one is solved we won't be able to know if the correct layer name is shown for targets.
Comment 10 Belen Barros Pena 2015-01-29 11:10:33 UTC
(In reply to comment #9)
> This is not resolved: layer information is coming as 'unknown' in 

Sorry, I meant, this cannot be verified.
Comment 11 Ionut Chisanovici 2015-01-29 12:09:25 UTC
This is fixed, please see the attached screen shots.

Cheers,
Ionut C
Comment 12 Ionut Chisanovici 2015-01-29 12:10:03 UTC
Created attachment 2378 [details]
all_targets_layer
Comment 13 Ionut Chisanovici 2015-01-29 12:10:55 UTC
Created attachment 2379 [details]
image_recipes_page