[yocto] How to use '&' character in Yocto SRC_URI svn://

Łukasz Zemła lukasz.zet at gmail.com
Fri May 5 07:56:48 PDT 2017


Hello,

I have a problem to build recipe containing & character in SVN path.
SRC_URI =
"svn://servf7/Valve&Actuator/DVPII/trunk/SOCPACManEnv;module=trunk;rev=100108"

It does not work, because SVN fetcher cannot find sources:
Failed to fetch URL
svn://servf7/Valve&Actuator/DVPII/trunk/SOCPACManEnv;module=trunk;rev=100108,
attempting MIRRORS if available.

Adding escape character \& works better - sources are downloaded, however
for some reason Yocto adds another \ and cannot find downloaded file (what
exists:
/trunk_servf7_.Valve&Actuator.DVPII.trunk.SOCPACManEnv_100108_.tar.gz):
Exception: FileNotFoundError: [Errno 2] No such file or directory:
'/downloads/trunk_servf7_.Valve\\&Actuator.DVPII.trunk.SOCPACManEnv_100108_.tar.gz'

I have tried escaping by Valve\0x26Actuator, Valve%26Actuator, but in those
cases SVN could not locate URL.

Unfortunately I cannot rename SVN folder, because it contains dozens of old
subprojects.
Yocto Morty 2.2.1.

Thank you in advance.

Best regards,
 Lukasz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170505/5efb7f6e/attachment.html>


More information about the yocto mailing list