Skip to content

classes/reproducible: Fix error when no git HEAD

Joshua Watt openembedded-core 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2classes/reproducible: Move to library codemeta/classes/reproducible_build.bbclass meta/lib/oe/reproducible.py+98 -870 replies
2/2lib/oe/reproducible: Fix error when no git HEADmeta/lib/oe/reproducible.py+17 -80 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [OE-core][PATCH 0/2] classes/reproducible: Fix error when no git HEAD

Fixes a bug where getting the source date epoch would fail if there was no git HEAD (such as when 'subdir=' is used).

Also takes the opportunity to move many of the anonymous python functions to library code to reducing the parsing burden

Joshua Watt (2):
classes/reproducible: Move to library code
lib/oe/reproducible: Fix error when no git HEAD

 meta/classes/reproducible_build.bbclass |  90 +-------------------
 meta/lib/oe/reproducible.py             | 104 ++++++++++++++++++++++++
 2 files changed, 107 insertions(+), 87 deletions(-)
 create mode 100644 meta/lib/oe/reproducible.py
Signature · 1 line
2.27.0