summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual/variables.rst
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/ref-manual/variables.rst')
-rw-r--r--documentation/ref-manual/variables.rst17
1 files changed, 17 insertions, 0 deletions
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
index 9daf230a59..241d5aa2d5 100644
--- a/documentation/ref-manual/variables.rst
+++ b/documentation/ref-manual/variables.rst
@@ -6938,6 +6938,23 @@ system and gives an overview of their function and contents.
6938 You will see this variable referenced in the default values of 6938 You will see this variable referenced in the default values of
6939 ``FILES:${PN}-dev``. 6939 ``FILES:${PN}-dev``.
6940 6940
6941 :term:`SOURCE_DATE_EPOCH`
6942 This defines a date expressed in number of seconds since
6943 the UNIX EPOCH (01 Jan 1970 00:00:00 UTC), which is used by
6944 multiple build systems to force a timestamp in built binaries.
6945 Many upstream projects already support this variable.
6946
6947 You will find more details in the `official specifications
6948 <https://reproducible-builds.org/specs/source-date-epoch/>`__.
6949
6950 A value for each recipe is computed from the sources by
6951 the :ref:`reproducible-build <ref-classes-reproducible-build>` class.
6952
6953 If a recipe wishes to override the default behavior, it should set its
6954 own :term:`SOURCE_DATE_EPOCH` value::
6955
6956 SOURCE_DATE_EPOCH = "1613559011"
6957
6941 :term:`SOURCE_MIRROR_FETCH` 6958 :term:`SOURCE_MIRROR_FETCH`
6942 When you are fetching files to create a mirror of sources (i.e. 6959 When you are fetching files to create a mirror of sources (i.e.
6943 creating a source mirror), setting :term:`SOURCE_MIRROR_FETCH` to "1" in 6960 creating a source mirror), setting :term:`SOURCE_MIRROR_FETCH` to "1" in