intro.rst 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. .. SPDX-License-Identifier: CC-BY-SA-2.0-UK
  2. ************
  3. Introduction
  4. ************
  5. Toaster is a web interface to the Yocto Project's
  6. :term:`OpenEmbedded Build System`. The interface
  7. enables you to configure and run your builds. Information about builds
  8. is collected and stored in a database. You can use Toaster to configure
  9. and start builds on multiple remote build servers.
  10. Toaster Features
  11. ================
  12. Toaster allows you to configure and run builds, and it provides
  13. extensive information about the build process.
  14. - *Configure and Run Builds:* You can use the Toaster web interface to
  15. configure and start your builds. Builds started using the Toaster web
  16. interface are organized into projects. When you create a project, you
  17. are asked to select a release, or version of the build system you
  18. want to use for the project builds. As shipped, Toaster supports
  19. Yocto Project releases 1.8 and beyond. With the Toaster web
  20. interface, you can:
  21. - Browse layers listed in the various
  22. :ref:`layer sources <toaster-manual/reference:layer source>`
  23. that are available in your project (e.g. the OpenEmbedded Layer Index at
  24. :oe_layerindex:`/`).
  25. - Browse images, recipes, and machines provided by those layers.
  26. - Import your own layers for building.
  27. - Add and remove layers from your configuration.
  28. - Set configuration variables.
  29. - Select a target or multiple targets to build.
  30. - Start your builds.
  31. Toaster also allows you to configure and run your builds from the
  32. command line, and switch between the command line and the web
  33. interface at any time. Builds started from the command line appear
  34. within a special Toaster project called "Command line builds".
  35. - *Information About the Build Process:* Toaster also records extensive
  36. information about your builds. Toaster collects data for builds you
  37. start from the web interface and from the command line as long as
  38. Toaster is running.
  39. .. note::
  40. You must start Toaster before the build or it will not collect
  41. build data.
  42. With Toaster you can:
  43. - See what was built (recipes and packages) and what packages were
  44. installed into your final image.
  45. - Browse the directory structure of your image.
  46. - See the value of all variables in your build configuration, and
  47. which files set each value.
  48. - Examine error, warning, and trace messages to aid in debugging.
  49. - See information about the BitBake tasks executed and reused during
  50. your build, including those that used shared state.
  51. - See dependency relationships between recipes, packages, and tasks.
  52. - See performance information such as build time, task time, CPU
  53. usage, and disk I/O.
  54. For an overview of Toaster, see this
  55. `introduction video <https://youtu.be/BlXdOYLgPxA>`__.
  56. Installation Options
  57. ====================
  58. You can set Toaster up to run as a local instance or as a shared hosted
  59. service.
  60. When Toaster is set up as a local instance, all the components reside on
  61. a single build host. Fundamentally, a local instance of Toaster is
  62. suited for a single user developing on a single build host.
  63. .. image:: figures/simple-configuration.png
  64. :align: center
  65. :width: 70%
  66. Toaster as a hosted service is suited for multiple users developing
  67. across several build hosts. When Toaster is set up as a hosted service,
  68. its components can be spread across several machines:
  69. .. image:: figures/hosted-service.png
  70. :align: center
  71. :width: 50%