diff options
author | Jens Rehsack <sno@NetBSD.org> | 2020-02-18 06:40:53 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-02-19 11:26:12 +0000 |
commit | 5e90105d90fcb08376993a08c0fd7b1f1805a3da (patch) | |
tree | 2fe54174591e042f830b27c1b3ee0f81e00f43f8 /bitbake/lib | |
parent | 50524c152cf374573feb2b63e656efe9758a7d4f (diff) | |
download | poky-5e90105d90fcb08376993a08c0fd7b1f1805a3da.tar.gz |
bitbake: fetch2: svn: care for path_spec
Documentation says:
"path_spec": A specific directory in which to checkout the specified
svn module.
but existing svn fetcher uses "module" always as path of checked out
svn-module, regardless whether path_spec was given or not.
(Bitbake rev: 75223644ab9bc94fc268f1bab775e66c4188f279)
Signed-off-by: Jens Rehsack <sno@NetBSD.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/fetch2/svn.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/svn.py b/bitbake/lib/bb/fetch2/svn.py index 6c8caf5fb9..385a6b2cf1 100644 --- a/bitbake/lib/bb/fetch2/svn.py +++ b/bitbake/lib/bb/fetch2/svn.py | |||
@@ -47,7 +47,7 @@ class Svn(FetchMethod): | |||
47 | svndir = d.getVar("SVNDIR") or (d.getVar("DL_DIR") + "/svn") | 47 | svndir = d.getVar("SVNDIR") or (d.getVar("DL_DIR") + "/svn") |
48 | relpath = self._strip_leading_slashes(ud.path) | 48 | relpath = self._strip_leading_slashes(ud.path) |
49 | ud.pkgdir = os.path.join(svndir, ud.host, relpath) | 49 | ud.pkgdir = os.path.join(svndir, ud.host, relpath) |
50 | ud.moddir = os.path.join(ud.pkgdir, ud.module) | 50 | ud.moddir = os.path.join(ud.pkgdir, ud.path_spec) |
51 | # Protects the repository from concurrent updates, e.g. from two | 51 | # Protects the repository from concurrent updates, e.g. from two |
52 | # recipes fetching different revisions at the same time | 52 | # recipes fetching different revisions at the same time |
53 | ud.svnlock = os.path.join(ud.pkgdir, "svn.lock") | 53 | ud.svnlock = os.path.join(ud.pkgdir, "svn.lock") |