diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-21 10:38:59 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-23 10:00:35 -0700 |
commit | 09761c95e7541a8ac954a75b0c70cd2f8362720e (patch) | |
tree | 1078c08bde880c372f91ffbe656458eae72dd1ba /bitbake/lib | |
parent | 5c34022a11fb4f30101d2336cd03c7ea1270ac52 (diff) | |
download | poky-09761c95e7541a8ac954a75b0c70cd2f8362720e.tar.gz |
fetch2/git: Add rsync as a valid git protocol
(Bitbake rev: 4cc4e318fd6907a4742f327177f321d140385c9e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/fetch2/git.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py index 7954f66ac5..25c2c510f6 100644 --- a/bitbake/lib/bb/fetch2/git.py +++ b/bitbake/lib/bb/fetch2/git.py | |||
@@ -88,7 +88,7 @@ class Git(FetchMethod): | |||
88 | else: | 88 | else: |
89 | ud.proto = "git" | 89 | ud.proto = "git" |
90 | 90 | ||
91 | if not ud.proto in ('git', 'file', 'ssh', 'http', 'https'): | 91 | if not ud.proto in ('git', 'file', 'ssh', 'http', 'https', 'rsync'): |
92 | raise bb.fetch2.ParameterError("Invalid protocol type", ud.url) | 92 | raise bb.fetch2.ParameterError("Invalid protocol type", ud.url) |
93 | 93 | ||
94 | ud.nocheckout = ud.parm.get("nocheckout","0") == "1" | 94 | ud.nocheckout = ud.parm.get("nocheckout","0") == "1" |