summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe/reproducible.py
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2022-01-01 12:29:55 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-01-05 17:18:15 +0000
commit51a8e28fe03c167727be99183fa82ab88ffe9876 (patch)
treee7361e86bf3106b4a2d29b5b2c3b05feb6c0ed52 /meta/lib/oe/reproducible.py
parenta44ba6ae65ce2e9096d7374c02dad4c3503c57e9 (diff)
downloadpoky-51a8e28fe03c167727be99183fa82ab88ffe9876.tar.gz
lib/oe/reproducible: correctly set .git location when recursively looking for git repos
(From OE-Core rev: ffdaa1a0527691d66dd28e86bd015bfad7a020f6) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe/reproducible.py')
-rw-r--r--meta/lib/oe/reproducible.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/reproducible.py b/meta/lib/oe/reproducible.py
index 4fb99d963c..35b8be6d08 100644
--- a/meta/lib/oe/reproducible.py
+++ b/meta/lib/oe/reproducible.py
@@ -92,7 +92,7 @@ def find_git_folder(d, sourcedir):
92 for root, dirs, files in os.walk(workdir, topdown=True): 92 for root, dirs, files in os.walk(workdir, topdown=True):
93 dirs[:] = [d for d in dirs if d not in exclude] 93 dirs[:] = [d for d in dirs if d not in exclude]
94 if '.git' in dirs: 94 if '.git' in dirs:
95 return root 95 return os.path.join(root, ".git")
96 96
97 bb.warn("Failed to find a git repository in WORKDIR: %s" % workdir) 97 bb.warn("Failed to find a git repository in WORKDIR: %s" % workdir)
98 return None 98 return None