Message ID | 20250610094334.1653567-1-alex.kanavin@gmail.com |
---|---|
State | New |
Headers | show |
Series | [RFC] fetch2/git: allow overriding default unpack directory with a variable | expand |
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py index 55dd084abce..0af8070080b 100644 --- a/bitbake/lib/bb/fetch2/git.py +++ b/bitbake/lib/bb/fetch2/git.py @@ -660,7 +660,7 @@ class Git(FetchMethod): subdir = ud.parm.get("subdir") subpath = ud.parm.get("subpath") readpathspec = "" - def_destsuffix = "git/" + def_destsuffix = (d.getVar("BB_GIT_DEFAULT_DESTSUFFIX") or "git") + "/" if subpath: readpathspec = ":%s" % subpath