mirror of
https://git.yoctoproject.org/poky
synced 2026-02-15 05:03:03 +01: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:
committed by
Richard Purdie
parent
a334a8c67f
commit
9b534f334d
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user