fetch2/git: allow overriding default unpack directory with a variable
PATCH 1/1 fetch2/git: allow overriding default unpack directory with a variable
From: Alexander Kanavin <[email protected]>
This will allow setting the variable in oe-core such that it matches S, which in turn will allow dropping S from almost all git:// fetching recipes, and not having to set it in newly written ones.
Signed-off-by Alexander Kanavin <[email protected]>
--- bitbake/lib/bb/fetch2/git.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
bitbake/lib/bb/fetch2/git.py +1 -1
@@ -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
Signature · 1 line
2.39.5