Skip to content

Fixes for reproducible build and externalsrc

Mark Hatle openembedded-core 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 0 repliesNew
  2. v22 patches 1 replySuperseded
  3. v12 patches 5 repliesSuperseded

Changes in v3 from the cover letter

SAME AS V2, except I corrected a minor typographical error in a comment in 2/2.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2reproducible_build: Remove BUILD_REPRODUCIBLE_BINARIES checkingmeta/classes/reproducible_build.bbclass+34 -190 replies
2/2externalsrc: Work with reproducible_buildmeta/classes/externalsrc.bbclass+10 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [OE-core][PATCH v3 0/2] Fixes for reproducible build and externalsrc

v3:
SAME AS V2, except I corrected a minor typographical error in a comment in 2/2.

v2:
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(-)
Signature · 1 line
2.17.1