http://autobuilder.yoctoproject.org/pub/nightly/20140420-2/buildtools/poky-eglibc-x86_64-buildtools-tarball-core2-64-buildtools-nativesdk-standalone-1.6.sh This was built on daisy release from http://autobuilder.yoctoproject.org/main/builders/buildtools/builds/51 With the buildtools tarball installed in a custom location, git pull doesn't work. Other commands like fetch/checkout seems to work just fine. [stefans@firebird Downloads]$ sh poky-eglibc-x86_64-buildtools-tarball-core2-64-buildtools-nativesdk-standalone-1.6.sh Enter target directory for SDK (default: /opt/poky/1.6): /home/stefans/buildtools You are about to install the SDK to "/home/stefans/buildtools". Proceed[Y/n]?y Extracting SDK...done Setting it up...done SDK has been successfully set up and is ready to be used. [stefans@firebird buildtools]$ source environment-setup-x86_64-pokysdk-linux [stefans@firebird ~]$ cd yocto/poky/ [stefans@firebird poky]$ which git ~/buildtools/sysroots/x86_64-pokysdk-linux/usr/bin/git [stefans@firebird poky]$ git pull git: 'pull' is not a git command. See 'git --help'. Did you mean this? shell Installing in the default directory, git pull works: [stefans@firebird Downloads]$ sudo sh poky-eglibc-x86_64-buildtools-tarball-core2-64-buildtools-nativesdk-standalone-1.6.sh Enter target directory for SDK (default: /opt/poky/1.6): You are about to install the SDK to "/opt/poky/1.6". Proceed[Y/n]?y Extracting SDK...done Setting it up...done SDK has been successfully set up and is ready to be used. [stefans@firebird Downloads]$ source /opt/poky/1.6/environment-setup-x86_64-pokysdk-linux [stefans@firebird ~]$ cd yocto/poky/ [stefans@firebird poky]$ which git /opt/poky/1.6/sysroots/x86_64-pokysdk-linux/usr/bin/git [stefans@firebird poky]$ git pull remote: Counting objects: 733, done. remote: Compressing objects: 100% (173/173), done. remote: Total 519 (delta 415), reused 440 (delta 342) Receiving objects: 100% (519/519), 201.18 KiB | 0 bytes/s, done. Resolving deltas: 100% (415/415), completed with 98 local objects.
It turns out that RUNTIME_PREFIX support upstream isn't what it should be. See https://github.com/kergoth/meta-mentor/commit/9d966b7 -- not ideal, but works for now. I'll see about submitting that to oe-core.
This seems to work just fine on Ubuntu 12.04. I tried both the installer suggested in the report and one freshly built. 'git pull' works... What OS were you running this on?
Laurentiu: I used that buildtools tarball on F19, F20 and an Ubuntu 12.04 machine. The output from above is from a F20 machine. git pull consistenly failed for me when installed in the home dir, and not in the default /opt/poky/1.6 path...
It's not just git-pull that's affected by this. For us, we found that it was impossible to clone an http:// uri, as it was unable to find the http git remote helper.
Patches from meta-mentor sent to OE-Core for review.
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=62cf222de25848bb984581170e79fbc461fbe2dd
verified with 1.7_M1