images.rst 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. .. SPDX-License-Identifier: CC-BY-SA-2.0-UK
  2. ******
  3. Images
  4. ******
  5. The OpenEmbedded build system provides several example images to satisfy
  6. different needs. When you issue the ``bitbake`` command you provide a
  7. "top-level" recipe that essentially begins the build for the type of
  8. image you want.
  9. .. note::
  10. Building an image without GNU General Public License Version 3
  11. (GPLv3), GNU Lesser General Public License Version 3 (LGPLv3), and
  12. the GNU Affero General Public License Version 3 (AGPL-3.0) components
  13. is only tested for core-image-minimal image. Furthermore, if you would like to
  14. build an image and verify that it does not include GPLv3 and similarly licensed
  15. components, you must make the following changes in the image recipe
  16. file before using the BitBake command to build the image:
  17. INCOMPATIBLE_LICENSE = "GPL-3.0* LGPL-3.0*"
  18. Alternatively, you can adjust ``local.conf`` file, repeating and adjusting the line
  19. for all images where the license restriction must apply:
  20. INCOMPATIBLE_LICENSE:pn-your-image-name = "GPL-3.0* LGPL-3.0*"
  21. From within the ``poky`` Git repository, you can use the following
  22. command to display the list of directories within the :term:`Source Directory`
  23. that contain image recipe files::
  24. $ ls meta*/recipes*/images/*.bb
  25. Here is a list of supported recipes:
  26. - ``build-appliance-image``: An example virtual machine that contains
  27. all the pieces required to run builds using the build system as well
  28. as the build system itself. You can boot and run the image using
  29. either the `VMware
  30. Player <https://www.vmware.com/products/player/overview.html>`__ or
  31. `VMware
  32. Workstation <https://www.vmware.com/products/workstation/overview.html>`__.
  33. For more information on this image, see the :yocto_home:`Build
  34. Appliance </software-item/build-appliance>` page
  35. on the Yocto Project website.
  36. - ``core-image-base``: A console-only image that fully supports the
  37. target device hardware.
  38. - ``core-image-full-cmdline``: A console-only image with more
  39. full-featured Linux system functionality installed.
  40. - ``core-image-minimal``: A small image just capable of allowing a
  41. device to boot.
  42. - ``core-image-minimal-dev``: A ``core-image-minimal`` image suitable
  43. for development work using the host. The image includes headers and
  44. libraries you can use in a host development environment.
  45. - ``core-image-minimal-initramfs``: A ``core-image-minimal`` image that
  46. has the Minimal RAM-based Initial Root Filesystem (:term:`Initramfs`) as part
  47. of the kernel, which allows the system to find the first "init"
  48. program more efficiently. See the
  49. :term:`PACKAGE_INSTALL` variable for
  50. additional information helpful when working with :term:`Initramfs` images.
  51. - ``core-image-minimal-mtdutils``: A ``core-image-minimal`` image that
  52. has support for the Minimal MTD Utilities, which let the user
  53. interact with the MTD subsystem in the kernel to perform operations
  54. on flash devices.
  55. - ``core-image-rt``: A ``core-image-minimal`` image plus a real-time
  56. test suite and tools appropriate for real-time use.
  57. - ``core-image-rt-sdk``: A ``core-image-rt`` image that includes
  58. everything in the cross-toolchain. The image also includes
  59. development headers and libraries to form a complete stand-alone SDK
  60. and is suitable for development using the target.
  61. - ``core-image-sato``: An image with Sato support, a mobile environment
  62. and visual style that works well with mobile devices. The image
  63. supports X11 with a Sato theme and applications such as a terminal,
  64. editor, file manager, media player, and so forth.
  65. - ``core-image-sato-dev``: A ``core-image-sato`` image suitable for
  66. development using the host. The image includes libraries needed to
  67. build applications on the device itself, testing and profiling tools,
  68. and debug symbols. This image was formerly ``core-image-sdk``.
  69. - ``core-image-sato-sdk``: A ``core-image-sato`` image that includes
  70. everything in the cross-toolchain. The image also includes
  71. development headers and libraries to form a complete standalone SDK
  72. and is suitable for development using the target.
  73. - ``core-image-testmaster``: A "controller" image designed to be used for
  74. automated runtime testing. Provides a "known good" image that is
  75. deployed to a separate partition so that you can boot into it and use
  76. it to deploy a second image to be tested. You can find more
  77. information about runtime testing in the
  78. ":ref:`test-manual/runtime-testing:performing automated runtime testing`"
  79. section in the Yocto Project Test Environment Manual.
  80. - ``core-image-testmaster-initramfs``: A RAM-based Initial Root
  81. Filesystem (:term:`Initramfs`) image tailored for use with the
  82. ``core-image-testmaster`` image.
  83. - ``core-image-weston``: A very basic Wayland image with a terminal.
  84. This image provides the Wayland protocol libraries and the reference
  85. Weston compositor. For more information, see the
  86. ":ref:`dev-manual/wayland:using wayland and weston`"
  87. section in the Yocto Project Development Tasks Manual.
  88. - ``core-image-x11``: A very basic X11 image with a terminal.