1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-09 05:29:32 +00:00

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.

(From OE-Core rev: 4a2936126f12eeacecced051fa339c32c1f16576)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexander Kanavin
2020-12-03 14:37:17 +01:00
committed by Richard Purdie
parent a334a8c67f
commit 9b534f334d
+1 -1
View File
@@ -47,7 +47,7 @@ def find_git_folder(d, sourcedir):
return None return None
def get_source_date_epoch_from_git(d, sourcedir): 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 return None
gitpath = find_git_folder(d, sourcedir) gitpath = find_git_folder(d, sourcedir)