From: Alexander Kanavin Date: Thu, 3 Dec 2020 13:37:17 +0000 (+0100) Subject: meta/lib/oe/reproducible.py: gitsm:// works just as fine as git:// for timestamps X-Git-Tag: uninative-2.10~549 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=4a2936126f12eeacecced051fa339c32c1f16576;p=openembedded-core.git meta/lib/oe/reproducible.py: gitsm:// works just as fine as git:// for timestamps This in particular addresses vulkan-samples reproducibility which made me scratch my head for a while. Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie --- diff --git a/meta/lib/oe/reproducible.py b/meta/lib/oe/reproducible.py index 421bb12f54..0fb02ccdb0 100644 --- a/meta/lib/oe/reproducible.py +++ b/meta/lib/oe/reproducible.py @@ -47,7 +47,7 @@ def find_git_folder(d, sourcedir): return None def get_source_date_epoch_from_git(d, sourcedir): - if not "git://" in d.getVar('SRC_URI'): + if not "git://" in d.getVar('SRC_URI') and not "gitsm://" in d.getVar('SRC_URI'): return None gitpath = find_git_folder(d, sourcedir)