summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual/classes.rst
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/ref-manual/classes.rst')
-rw-r--r--documentation/ref-manual/classes.rst18
1 files changed, 16 insertions, 2 deletions
diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst
index 5e49613b2f..cc0d212130 100644
--- a/documentation/ref-manual/classes.rst
+++ b/documentation/ref-manual/classes.rst
@@ -881,8 +881,22 @@ Yocto Project Overview and Concepts Manual.
881``image-buildinfo.bbclass`` 881``image-buildinfo.bbclass``
882=========================== 882===========================
883 883
884The ``image-buildinfo`` class writes information to the target 884The ``image-buildinfo`` class writes a plain text file containing
885filesystem on ``/etc/build``. 885build information to the target filesystem at ``${sysconfdir}/buildinfo``
886by default (as specified by :term:`IMAGE_BUILDINFO_FILE`.
887This can be useful for manually determining the origin of any given
888image. It writes out two sections:
889
8901. `Build Configuration`: a list of variables and their values (specified
891 by :term:`IMAGE_BUILDINFO_VARS`, which defaults to :term:`DISTRO` and
892 :term:`DISTRO_VERSION`)
893
8942. `Layer Revisions`: the revisions of all of the layers used in the
895 build.
896
897Additionally, when building an SDK it will write the same contents
898to ``/buildinfo`` by default (as specified by
899:term:`SDK_BUILDINFO_FILE`).
886 900
887.. _ref-classes-image_types: 901.. _ref-classes-image_types:
888 902