[yocto] TFS Urls with Git in Recipes
Lohr, Christian [ext]
christian.lohr.ext at zeiss.com
Wed Oct 23 00:36:03 PDT 2019
Hello,
I'm using the following:
Yocto Release 2.4 (Rocko), and Bitbake 1.9.x
My problem is the following url (actually the "%20" is the problem in bitbake):
ssh://tfs-my-company.org:22/tfs/OWN_Projects/FooBar%20500/_git/DummyApplicationForYocto
I can do a "git clone <url>" without any problems. Now I wanted to create a Yocto recipe similar to this:
------------------------------------------------------------------------------------------------------------------------------------------
SUMMARY = "A demo application"
DESCRIPTION = "This application is just for demo purpose and should be seen as Hello World"
LICENSE = "CLOSED"
#LIC_FILES_CHKSUM = ""
PROJECT_URL = "tfs-my-company.org:22/tfs/OWN_Projects"
PROJECT_NAME = "FooBar%20500"
SRC_URI = "git://${PROJECT_URL}/${PROJECT_NAME}/_git/DummyApplicationForYocto;protocol=ssh"
SRCREV = "${AUTOREV}"
PV = "1.0+git${SRCPV}"
DEPENDS = "qtbase"
--------------------------------------------------------------------------------------------------------------------------------------------
The "%20" sign will be replaced with a space " " in some cases:
When I try to run "bitbake dummyapp", the following happens:
"FooBar%20500" will be transformed to "FooBar 500"
--------------------------------------------------------------------------------------------------------------------------------------------
git -c core.fsyncobjectfiles=0 ls-remote ssh:// tfs-my-company.org:22/tfs/OWN_Projects/FooBar 500/_git/DummyApplicationForYocto failed with exit code 128, output:
remote: Command git-upload-pack '/tfs/OWN_Projects/FooBar' is not in expected format.
fatal: Could not read from remote repository.
Is it possible to prevent this because if it would leave the "%20" the command would work.
Kind regards,
Christian Lohr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20191023/c5be845b/attachment-0001.html>
More information about the yocto
mailing list