diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2020-12-03 14:37:17 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-12-18 23:01:48 +0000 |
commit | 7fa83081fc3c32c96c83f8890cfe38443588e374 (patch) | |
tree | 12f5fb56807d3a9e8e9f0291846e97fdf8deacc0 | |
parent | 28530c28f9384a1baf48483db4664cf444ec7ea3 (diff) | |
download | poky-7fa83081fc3c32c96c83f8890cfe38443588e374.tar.gz |
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: 9010bd445740344a9a3c983e5767552eb684af12)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4a2936126f12eeacecced051fa339c32c1f16576)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.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): | |||
47 | return None | 47 | return None |
48 | 48 | ||
49 | def get_source_date_epoch_from_git(d, sourcedir): | 49 | def get_source_date_epoch_from_git(d, sourcedir): |
50 | if not "git://" in d.getVar('SRC_URI'): | 50 | if not "git://" in d.getVar('SRC_URI') and not "gitsm://" in d.getVar('SRC_URI'): |
51 | return None | 51 | return None |
52 | 52 | ||
53 | gitpath = find_git_folder(d, sourcedir) | 53 | gitpath = find_git_folder(d, sourcedir) |