ref-images.xml 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
  2. "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
  3. [<!ENTITY % poky SYSTEM "../poky.ent"> %poky; ] >
  4. <chapter id='ref-images'>
  5. <title>Images</title>
  6. <para>
  7. The OpenEmbedded build system provides several example
  8. images to satisfy different needs.
  9. When you issue the <filename>bitbake</filename> command you provide a “top-level” recipe
  10. that essentially begins the build for the type of image you want.
  11. </para>
  12. <note>
  13. Building an image without GNU General Public License Version 3 (GPLv3),
  14. GNU Lesser General Public License Version 3 (LGPLv3), and the
  15. GNU Affero General Public License Version 3 (AGPL-3.0) components
  16. is only supported for minimal and base images.
  17. Furthermore, if you are going to build an image using non-GPLv3 and
  18. similarly licensed components, you must make the following changes in
  19. the <filename>local.conf</filename> file before using the BitBake
  20. command to build the minimal or base image:
  21. <literallayout class='monospaced'>
  22. 1. Comment out the EXTRA_IMAGE_FEATURES line
  23. 2. Set INCOMPATIBLE_LICENSE = "GPL-3.0 LGPL-3.0 AGPL-3.0"
  24. </literallayout>
  25. </note>
  26. <para>
  27. From within the <filename>poky</filename> Git repository, you can use
  28. the following command to display the list of directories within the
  29. <ulink url='&YOCTO_DOCS_DEV_URL;#source-directory'>Source Directory</ulink>
  30. that containe image recipe files:
  31. <literallayout class='monospaced'>
  32. $ ls meta*/recipes*/images/*.bb
  33. </literallayout>
  34. </para>
  35. <para>
  36. Following is a list of supported recipes:
  37. <itemizedlist>
  38. <listitem><para><filename>build-appliance-image</filename>:
  39. An example virtual machine that contains all the pieces required to
  40. run builds using the build system as well as the build system itself.
  41. You can boot and run the image using either the
  42. <ulink url='http://www.vmware.com/products/player/overview.html'>VMware Player</ulink>
  43. or <ulink url='http://www.vmware.com/products/workstation/overview.html'>VMware Workstation</ulink>.
  44. For more information on this image, see the
  45. <ulink url='&YOCTO_HOME_URL;/documentation/build-appliance'>Build Appliance</ulink> page on
  46. the Yocto Project website.</para></listitem>
  47. <listitem><para><filename>core-image-base</filename>:
  48. A console-only image that fully supports the target device hardware.</para></listitem>
  49. <listitem><para><filename>core-image-clutter</filename>:
  50. An image with support for the Open GL-based toolkit Clutter, which enables development of
  51. rich and animated graphical user interfaces.</para></listitem>
  52. <listitem><para><filename>core-image-directfb</filename>:
  53. An image that uses <filename>directfb</filename> instead of X11.
  54. </para></listitem>
  55. <listitem><para><filename>core-image-full-cmdline</filename>:
  56. A console-only image with more full-featured Linux system
  57. functionality installed.</para></listitem>
  58. <listitem><para><filename>core-image-lsb</filename>:
  59. An image that conforms to the Linux Standard Base (LSB)
  60. specification.
  61. This image requires a distribution configuration that
  62. enables LSB compliance (e.g. <filename>poky-lsb</filename>).
  63. If you build <filename>core-image-lsb</filename> without that
  64. configuration, the image will not be LSB-compliant.
  65. </para></listitem>
  66. <listitem><para><filename>core-image-lsb-dev</filename>:
  67. A <filename>core-image-lsb</filename> image that is suitable for development work
  68. using the host.
  69. The image includes headers and libraries you can use in a host development
  70. environment.
  71. This image requires a distribution configuration that
  72. enables LSB compliance (e.g. <filename>poky-lsb</filename>).
  73. If you build <filename>core-image-lsb-dev</filename> without that
  74. configuration, the image will not be LSB-compliant.
  75. </para></listitem>
  76. <listitem><para><filename>core-image-lsb-sdk</filename>:
  77. A <filename>core-image-lsb</filename> that includes everything in
  78. the cross-toolchain but also includes development headers and libraries
  79. to form a complete standalone SDK.
  80. This image requires a distribution configuration that
  81. enables LSB compliance (e.g. <filename>poky-lsb</filename>).
  82. If you build <filename>core-image-lsb-sdk</filename> without that
  83. configuration, the image will not be LSB-compliant.
  84. This image is suitable for development using the target.</para></listitem>
  85. <listitem><para><filename>core-image-minimal</filename>:
  86. A small image just capable of allowing a device to boot.</para></listitem>
  87. <listitem><para><filename>core-image-minimal-dev</filename>:
  88. A <filename>core-image-minimal</filename> image suitable for development work
  89. using the host.
  90. The image includes headers and libraries you can use in a host development
  91. environment.
  92. </para></listitem>
  93. <listitem><para id='images-core-image-minimal-initramfs'><filename>core-image-minimal-initramfs</filename>:
  94. A <filename>core-image-minimal</filename> image that has the Minimal RAM-based
  95. Initial Root Filesystem (initramfs) as part of the kernel,
  96. which allows the system to find the first “init” program more efficiently.
  97. See the
  98. <link linkend='var-PACKAGE_INSTALL'><filename>PACKAGE_INSTALL</filename></link>
  99. variable for additional information helpful when working with
  100. initramfs images.
  101. </para></listitem>
  102. <listitem><para><filename>core-image-minimal-mtdutils</filename>:
  103. A <filename>core-image-minimal</filename> image that has support
  104. for the Minimal MTD Utilities, which let the user interact with the
  105. MTD subsystem in the kernel to perform operations on flash devices.
  106. </para></listitem>
  107. <listitem><para><filename>core-image-rt</filename>:
  108. A <filename>core-image-minimal</filename> image plus a real-time test suite and
  109. tools appropriate for real-time use.</para></listitem>
  110. <listitem><para><filename>core-image-rt-sdk</filename>:
  111. A <filename>core-image-rt</filename> image that includes everything in
  112. the cross-toolchain.
  113. The image also includes development headers and libraries to form a complete
  114. stand-alone SDK and is suitable for development using the target.
  115. </para></listitem>
  116. <listitem><para><filename>core-image-sato</filename>:
  117. An image with Sato support, a mobile environment and visual style that works well
  118. with mobile devices.
  119. The image supports X11 with a Sato theme and applications such as
  120. a terminal, editor, file manager, media player, and so forth.
  121. </para></listitem>
  122. <listitem><para><filename>core-image-sato-dev</filename>:
  123. A <filename>core-image-sato</filename> image suitable for development
  124. using the host.
  125. The image includes libraries needed to build applications on the device itself,
  126. testing and profiling tools, and debug symbols.
  127. This image was formerly <filename>core-image-sdk</filename>.
  128. </para></listitem>
  129. <listitem><para><filename>core-image-sato-sdk</filename>:
  130. A <filename>core-image-sato</filename> image that includes everything in
  131. the cross-toolchain.
  132. The image also includes development headers and libraries to form a complete standalone SDK
  133. and is suitable for development using the target.</para></listitem>
  134. <listitem><para><filename>core-image-testmaster</filename>:
  135. A "master" image designed to be used for automated runtime testing.
  136. Provides a "known good" image that is deployed to a separate
  137. partition so that you can boot into it and use it to deploy a
  138. second image to be tested.
  139. You can find more information about runtime testing in the
  140. "<ulink url='&YOCTO_DOCS_DEV_URL;#performing-automated-runtime-testing'>Performing Automated Runtime Testing</ulink>"
  141. section in the Yocto Project Development Manual.
  142. </para></listitem>
  143. <listitem><para><filename>core-image-testmaster-initramfs</filename>:
  144. A RAM-based Initial Root Filesystem (initramfs) image tailored for
  145. use with the <filename>core-image-testmaster</filename> image.
  146. </para></listitem>
  147. <listitem><para><filename>core-image-weston</filename>:
  148. A very basic Wayland image with a terminal.
  149. This image provides the Wayland protocol libraries and the
  150. reference Weston compositor.
  151. For more information, see the
  152. "<link linkend='wayland'>Wayland</link>" section.
  153. </para></listitem>
  154. <listitem><para><filename>core-image-x11</filename>:
  155. A very basic X11 image with a terminal.
  156. </para></listitem>
  157. </itemizedlist>
  158. </para>
  159. </chapter>
  160. <!--
  161. vim: expandtab tw=80 ts=4
  162. -->