As well, if "proto" is used, get the associated value as "protocol"
(Bitbake rev:
53e6b630f0463d2d07cdaa9c9eb36794dc9b6b69)
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
if localonly and not isinstance(self.method, local.Local):
raise NonLocalMethod()
+ if self.parm.get("proto", None) and "protocol" not in self.parm:
+ logger.warn('Consider updating %s recipe to use "protocol" not "proto" in SRC_URI.', d.getVar('PN', True))
+ self.parm["protocol"] = self.parm.get("proto", None)
+
if hasattr(self.method, "urldata_init"):
self.method.urldata_init(self, d)