]> code.ossystems Code Review - openembedded-core.git/commit
reproducible_build: Remove BUILD_REPRODUCIBLE_BINARIES checking
authorMark Hatle <mark.hatle@xilinx.com>
Fri, 10 Sep 2021 02:22:12 +0000 (21:22 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 11 Sep 2021 21:36:27 +0000 (22:36 +0100)
commit1976013b026cfba94de32a13e994d92d7e9e39e5
treeefabc56969936c21351afc6211a64f67414579c8
parent9a5e0f3ece45529358b6b712e3450a8594f531c6
reproducible_build: Remove BUILD_REPRODUCIBLE_BINARIES checking

Previously if BUILD_REPRODUCIBLE_BINARIES was set to 0, the system would
fall back and select the default epoch (April 2011), but still perform
the reproducible build actions.  This resulted in binaries that had an
unusually old date.

Simplify the functions and remove the anonymous python as no longer
necessary.

Also improve the documentation to better explain what the class is doing
and how a recipe can override the behavior if necessary.

Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/reproducible_build.bbclass