Openembedded Core Discussions
 help / color / mirror / Atom feed
* [OE-core][PATCH v2 0/2] Fixes for reproducible build and externalsrc
@ 2021-09-10  1:28 Mark Hatle
  2021-09-10  1:29 ` [OE-core][PATCH v2 1/2] reproducible_build: Remove BUILD_REPRODUCIBLE_BINARIES checking Mark Hatle
  2021-09-10  1:29 ` [OE-core][PATCH v2 2/2] externalsrc: Work with reproducible_build Mark Hatle
  0 siblings, 2 replies; 4+ messages in thread
From: Mark Hatle @ 2021-09-10  1:28 UTC (permalink / raw)
  To: openembedded-core

I've reworked the patches completely based on the feedback and a discusion
with RP on IRC.

The first patch both simplifies and expands the description of what the
class is doing.  (To fully disable the behavior for a single recipe that
recipe would need to delVar SOURCE_DATE_EPOCH.  With this set, all sorts
of programs pay attention to the value, if it's blank it may error,
otherwise it falls back to either 0, or another date.)

The documentation is expanded to make it clear how to override the behavior
but it was not desired to explain how to 'disable' the behavior for a
single recipe.

For the externalsrc, the code was moved from the reproducible_build into
the externalsrc and made contingent on the do_unpack being removed.

Mark Hatle (2):
  reproducible_build: Remove BUILD_REPRODUCIBLE_BINARIES checking
  externalsrc: Work with reproducible_build

 meta/classes/externalsrc.bbclass        | 10 +++++
 meta/classes/reproducible_build.bbclass | 53 ++++++++++++++++---------
 2 files changed, 44 insertions(+), 19 deletions(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-09-10  2:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-10  1:28 [OE-core][PATCH v2 0/2] Fixes for reproducible build and externalsrc Mark Hatle
2021-09-10  1:29 ` [OE-core][PATCH v2 1/2] reproducible_build: Remove BUILD_REPRODUCIBLE_BINARIES checking Mark Hatle
2021-09-10  2:01   ` Douglas
2021-09-10  1:29 ` [OE-core][PATCH v2 2/2] externalsrc: Work with reproducible_build Mark Hatle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox