diff options
author | 2020-12-03 14:37:17 +0100 | |
---|---|---|
committer | 2020-12-09 12:20:33 +0000 | |
commit | 9b534f334df9cfbfd752dff001cbd447b5cc2a46 (patch) | |
tree | 67e504188708e3ce682369ea7463f394921f2ac5 | |
parent | a334a8c67f8d7965f2e8a0cf26ecd9cf3bfeaafe (diff) | |
download | poky-9b534f334df9cfbfd752dff001cbd447b5cc2a46.tar.gz poky-9b534f334df9cfbfd752dff001cbd447b5cc2a46.tar.bz2 poky-9b534f334df9cfbfd752dff001cbd447b5cc2a46.zip |
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>
-rw-r--r-- | meta/lib/oe/reproducible.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |