Toaster web interface is not able to import layers from local yocto machine

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Toaster web interface is not able to import layers from local yocto machine

235 Views
annonymous_user
Contributor II

Hello, I tried to build an image("ls-image-main") from toaster web interface for "LS1012AFRWY" card but i wanted to use recipe file which is present in my local machine's layer.So i tried importing layers from my local machine to toaster web interface but some layers like meta-clang,meta-browser are getting imported correctly while some other layers like my custom layer,meta-freescale etc are not being able to be imported.So how can i resolve this issue?And yocto version that i'm using is Yocto version 4.2 Mickeldore

0 Kudos
1 Reply

216 Views
annonymous_user
Contributor II

Hello,

I got it why Toaster web interface was not importing layers. Reason is I have sourced wrong script file. Their are two script file in my distro/yocto one is for ls1012afrwy card's script which I usually source it while building any image related to it in terminal and another is oe-init-build-env in poky directory which is the correct script file to be sourced to make toaster to import layers.

Steps followed is:

cd ~/path-to-poky-dir

source oe-init-build-env build-with-toaster

source toaster start

Go to http://localhost:8000 and can import layers now

Here build-with-toaster is a directory which will be created to store toaster info

 

 

0 Kudos