diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2022-01-01 12:29:55 +0100 |
---|---|---|
committer | Anuj Mittal <anuj.mittal@intel.com> | 2022-01-11 09:36:36 +0800 |
commit | 2ff5c37f70e8c465cdbc61eea1d2d2a2be9bd84f (patch) | |
tree | 9eef197b9d651356546c92c747dab87b599f1cd3 /meta/lib | |
parent | ae9b3b5a57682d9de93f3171cdb448a8f5cbc536 (diff) | |
download | openembedded-core-2ff5c37f70e8c465cdbc61eea1d2d2a2be9bd84f.tar.gz |
lib/oe/reproducible: correctly set .git location when recursively looking for git repos
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ffdaa1a0527691d66dd28e86bd015bfad7a020f6)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Diffstat (limited to 'meta/lib')
-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 204b9bd734..0938e4cb39 100644 --- a/meta/lib/oe/reproducible.py +++ b/meta/lib/oe/reproducible.py @@ -41,7 +41,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 |