| Submitter | Andrei Gherzan |
|---|---|
| Date | July 10, 2012, 11:16 a.m. |
| Message ID | <092593c08bbfdeb46f6bfe9caa80e977364600b6.1341918809.git.andrei@gherzan.ro> |
| Download | mbox | patch |
| Permalink | /patch/31615/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/bitbake/lib/bb/fetch2/osc.py b/bitbake/lib/bb/fetch2/osc.py index a16a53e..5506829 100644 --- a/bitbake/lib/bb/fetch2/osc.py +++ b/bitbake/lib/bb/fetch2/osc.py @@ -57,7 +57,12 @@ class Osc(FetchMethod): basecmd = data.expand('${FETCHCMD_osc}', d) - proto = ud.parm.get('proto', 'ocs') + proto = ud.parm.get('protocol', 'ocs') + + if ud.parm.get('proto') is not None: + logger.warn('Update %s recipe to use "protocol" not "proto".', d.getVar('PN', True)) + # Use proto value for now + proto = ud.parm.get('proto') options = []
If SRC_URI uses the parameter "proto" while specifying the protocol, use this value but warn the user about this problem. Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> --- bitbake/lib/bb/fetch2/osc.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)