|
|
|
Hi Steve,
The version of repo is: "repo launcher version 1.19.1" and it is installed in /usr/local/bin. This version of repo is modified by my company but there are no significant changes. It is simply modified to have our in house URLs. A diff shows the only changes are to these lines. REPO_URL='git://otc-android.intel.com/tools/repo.git' REPO_REV='stable' I ran the repo command outside of quickbuild and I don't get an error. The command "repo sync -f -j5 --quiet" completes just fine as long as i run it from my user account "dlmorgan". QuickBuild runs as a different user. I suspect some environment setup issue. Any suggestions would help. Yes, the issue is usually caused by the different environment setup. You may try add two command steps, one call command: which repo and one call command which git, so you can compare the paths for repo and git with the paths you can run repo successfully.
Also, you can run the command by logging in with the user you run QuickBuild from terminal directly instead of adding the steps. The repo and git binaries are the same in each enviornment. They are installed to /usr/local/bin/repo and /usr/bin/git
I haven't debuged the issue yet however. Can you leave it open for a week so I have time to try a few more things? Any further suggestions would help too. I'm still a bit stumped by the different results from my cli login vs the qb instance. Is the /etc/profile.d/qb.sh a typical part of setup? The machine I'm running on is administered by another team so i have to work through them for changes to the server. I'm ok to close this one now. I'm onto my next project.
|
How you install the git-repo? I installed git-repo from below page: http://source.android.com/source/downloading.html and didn't find any problem. So please try follow the instructions on that page to re-install your git-repo to see whether it can work.