coreos/documentation/ref-manual/classes.rst

33 lines
1.1 KiB
ReStructuredText

*******
Classes
*******
This chapter document the classes that are provided by Belden CoreOS. Classes
provided by OpenEmbedded-Core are documented in the Yocto Reference Manual.
.. _ref-classes-coreos-metadata-scm:
.. index:: coreos_metadata_scm.bbclass
``coreos_metadata_scm.bbclass``
===============================
The ``coreos_metadata_scm`` class is used inside the CoreOS distribution
configuration file to change the value of ``METADATA_BRANCH`` and
``METADATA_REVISION`` to the current Git branch and revision of the main CoreOS
repository instead of the branch and revision of the OpenEmbedded-Core Layer, as
set by the :external:ref:`metadata_scm <ref-classes-metadata_scm>` class.
The ``coreos_metadata_scm`` is automatically inherited if ``DISTRO`` is set to
``belden-coreos`` or to any distro based on ``belden-coreos``.
.. _ref-classes-coreos-image:
.. index:: coreos_image.bbclass
``coreos_image.bbclass``
========================
The ``coreos-image`` class provides common definitions for the
``coreos-image-*`` image recipes, such as support for additional
:extern:ref:`IMAGE_FEATURE <ref-features-image>`.