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