Daiane writes: We are currently writing Chapter 3 of the upcoming Yocto Project 6.0 "Wrynose" book (published by Packt), which covers Toaster as a graphical build interface. Before finalising the content, we wanted to reach out and check on the current support status of Toaster, since we want to make sure the book reflects an accurate and up-to-date picture of the tooling. We followed the Toaster instructions available in both the 6.0 documentation (https://docs.yoctoproject.org/6.0/toaster-manual/) and the dev branch, but we were not able to get a successful build through the web interface. The error we observed was: Cannot find layer git path '/home/daiane/book/bitbake-builds/poky-master/layers/meta' in checked out repository 'git://git.openembedded.org/openembedded-core:HEAD'. Exiting. The build directory was initialized with oe-init-build-env from the layers/ directory as described in the documentation, and the target was core-image-full-cmdline for qemux86-64.
I see a configuration error. In the definition file for Wrynose it points to Bitbake 2.16 (Whinlatter) instead of 2.18. I will fix and retest.
Ok, the second issue is that the core three git repos are now using HTTPS. I am correcting for that. These values are hard-coded into "orm/fixtures/poky.xml" to bootstrap Toaster, which is why they need direct correction.
I have a patch to resolve these problems. However, there is an additional block. The Layer Index still has the old "git:" paths for the core layers, which overwrite my fixes. We need to either: (a) Update Layer Index now so that I can re-test and submit my normal patch. (b) I submit a patch that disables the Layer Index to overwrite this meta-data for the core layers, and then adjust this after the Layer Index is updated.
Richard has manually fixed the 3 core layers in the Layer Index. This will allow Toaster to minimally work once I submit the patch for this ticket. I have also filed Bug 16305 "Broken Layer Index data for YP layers 6.0" to hopefully fix all of the other bad links for YP layers in the Layer Index, so that tools like Toaster can fully work.
Patch submitted to bitbake.
Merged: d73feaf8d0cafa35a14e95457918de99c9d5552b Toaster will now work with the core layers. Reminder that the full layer support for Toaster is dependent on fixes to the Layer Index (#16240).