[oe-commits] [bitbake] 02/03: bitbake: fetch2: svn: care for path_spec

git at git.openembedded.org git at git.openembedded.org
Tue Feb 18 23:57:30 UTC 2020


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository bitbake.

commit e595612f02d5edb5c5578b781d7947b02f71165d
Author: Jens Rehsack <sno at NetBSD.org>
AuthorDate: Tue Feb 18 06:40:53 2020 +0100

    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.
    
    Signed-off-by: Jens Rehsack <sno at NetBSD.org>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 lib/bb/fetch2/svn.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/bb/fetch2/svn.py b/lib/bb/fetch2/svn.py
index 6c8caf5..385a6b2 100644
--- a/lib/bb/fetch2/svn.py
+++ b/lib/bb/fetch2/svn.py
@@ -47,7 +47,7 @@ class Svn(FetchMethod):
         svndir = d.getVar("SVNDIR") or (d.getVar("DL_DIR") + "/svn")
         relpath = self._strip_leading_slashes(ud.path)
         ud.pkgdir = os.path.join(svndir, ud.host, relpath)
-        ud.moddir = os.path.join(ud.pkgdir, ud.module)
+        ud.moddir = os.path.join(ud.pkgdir, ud.path_spec)
         # Protects the repository from concurrent updates, e.g. from two
         # recipes fetching different revisions at the same time
         ud.svnlock = os.path.join(ud.pkgdir, "svn.lock")

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list