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
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto