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

-- 
2.27.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#140812): 
https://lists.openembedded.org/g/openembedded-core/message/140812
Mute This Topic: https://lists.openembedded.org/mt/75687359/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to