summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oe/reproducible.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/lib/oe/reproducible.py b/meta/lib/oe/reproducible.py
index 2e815df190..768fd4f19c 100644
--- a/meta/lib/oe/reproducible.py
+++ b/meta/lib/oe/reproducible.py
@@ -113,7 +113,8 @@ def get_source_date_epoch_from_git(d, sourcedir):
113 return None 113 return None
114 114
115 bb.debug(1, "git repository: %s" % gitpath) 115 bb.debug(1, "git repository: %s" % gitpath)
116 p = subprocess.run(['git', '--git-dir', gitpath, 'log', '-1', '--pretty=%ct'], check=True, stdout=subprocess.PIPE) 116 p = subprocess.run(['git', '-c', 'log.showSignature=false', '--git-dir', gitpath, 'log', '-1', '--pretty=%ct'],
117 check=True, stdout=subprocess.PIPE)
117 return int(p.stdout.decode('utf-8')) 118 return int(p.stdout.decode('utf-8'))
118 119
119def get_source_date_epoch_from_youngest_file(d, sourcedir): 120def get_source_date_epoch_from_youngest_file(d, sourcedir):