summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorMichael Opdenacker <michael.opdenacker@bootlin.com>2021-10-19 14:34:18 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-10-20 20:20:46 +0100
commitd03d151093ff79c5c5761c7ce5f7c65ae909f9af (patch)
tree839df65e4b5446c5d3f86b7642ea09d67a9c17dc /documentation
parent2abbaa3319b5cef9eee6805b7e84b984e4b6dca1 (diff)
downloadpoky-d03d151093ff79c5c5761c7ce5f7c65ae909f9af.tar.gz
ref-manual: document BUILD_REPRODUCIBLE_BINARIES
(From yocto-docs rev: 9855ed9b35acede2f6e56509709000796a3927f3) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/migration-guides/migration-3.4.rst2
-rw-r--r--documentation/ref-manual/variables.rst13
2 files changed, 14 insertions, 1 deletions
diff --git a/documentation/migration-guides/migration-3.4.rst b/documentation/migration-guides/migration-3.4.rst
index 9ef1982026..592dbc57c4 100644
--- a/documentation/migration-guides/migration-3.4.rst
+++ b/documentation/migration-guides/migration-3.4.rst
@@ -243,7 +243,7 @@ Miscellaneous
243 re-enable it, set ``AVAHI_GTK = "gtk3"`` in a bbappend for the 243 re-enable it, set ``AVAHI_GTK = "gtk3"`` in a bbappend for the
244 ``avahi`` recipe or in your custom distro configuration file. 244 ``avahi`` recipe or in your custom distro configuration file.
245 245
246- Setting the ``BUILD_REPRODUCIBLE_BINARIES`` variable to "0" no longer 246- Setting the :term:`BUILD_REPRODUCIBLE_BINARIES` variable to "0" no longer
247 uses a strangely old fallback date of April 2011, it instead disables 247 uses a strangely old fallback date of April 2011, it instead disables
248 building reproducible binaries as you would logically expect. 248 building reproducible binaries as you would logically expect.
249 249
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
index 85f65cae35..9daf230a59 100644
--- a/documentation/ref-manual/variables.rst
+++ b/documentation/ref-manual/variables.rst
@@ -906,6 +906,19 @@ system and gives an overview of their function and contents.
906 :term:`TARGET_PREFIX` when building for 906 :term:`TARGET_PREFIX` when building for
907 ``native`` recipes. 907 ``native`` recipes.
908 908
909 :term:`BUILD_REPRODUCIBLE_BINARIES`
910 This variable allows the image building classes and recipes to produce
911 :ref:`reproducible binaries <test-manual/reproducible-builds:reproducible builds>`
912
913 If you inherit the
914 :ref:`reproducible-build <ref-classes-reproducible-build>` class,
915 which is the case of the Poky reference distribution, this sets this
916 variable to "1".
917
918 If your build inherits this classs but you wish to disable reproducible
919 binary generation for specific packages or images, you can set this
920 variable to "0" in the corresponding recipes.
921
909 :term:`BUILD_STRIP` 922 :term:`BUILD_STRIP`
910 Specifies the command to be used to strip debugging symbols from 923 Specifies the command to be used to strip debugging symbols from
911 binaries produced for the build host. By default, :term:`BUILD_STRIP` 924 binaries produced for the build host. By default, :term:`BUILD_STRIP`