]> 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)
committerSteve Sakoman <steve@sakoman.com>
Wed, 10 Nov 2021 14:12:06 +0000 (04:12 -1000)
commit814bedacac9f5c343c9888c0b14649189a84f817
tree93695440fd87657236b0d8fa87f85d5d18871a95
parent884e44701ada57abe4d8ad9ece424435be25c6a5
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>
(cherry picked from commit 1976013b026cfba94de32a13e994d92d7e9e39e5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/classes/reproducible_build.bbclass