Message ID | 20220101112959.1866747-2-alex@linutronix.de |
---|---|
State | Accepted, archived |
Commit | ffdaa1a0527691d66dd28e86bd015bfad7a020f6 |
Headers | show |
Series | [1/6] go: log build id computations | expand |
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): for root, dirs, files in os.walk(workdir, topdown=True): dirs[:] = [d for d in dirs if d not in exclude] if '.git' in dirs: - return root + return os.path.join(root, ".git") bb.warn("Failed to find a git repository in WORKDIR: %s" % workdir) return None
Signed-off-by: Alexander Kanavin <alex@linutronix.de> --- meta/lib/oe/reproducible.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)