.2 Setting up the repo utility
Repo is a tool built on top of Git that makes it easier to manage projects that contain multiple repositories, which do not need
to be on the same server. Repo complements very well the layered nature of the Yocto Project, making it easier for customers
to add their own layers to the BSP.
To install the “repo” utility, perform these steps:
1. Create a bin folder in the home directory.
$ mkdir ~/bin (this step may not be needed if the bin folder already exists)
$ curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
$ chmod a+x ~/bin/repo
2. Add the following line to the .bashrc file to ensure that the ~/bin folder is in your PATH variable.
export PATH=~/bin:$PATH
The second instruction is always wrong
as following
RX bytes:34541 (34.5 KB) TX bytes:34541 (34.5 KB)
topeet@ubuntu:~$ curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:02:06 --:--:-- 0curl: (7) Failed to connect to commondatastorage.googleapis.com port 80: Connection timed out
topeet@ubuntu:~$
I have changed 163 to tsinghua.
i have some questions to ask you ,
as downlows,this ''which whether is sill reseved?
HI zhang baobing,
It seems like you have network connection problem at your place.
1. Make sure you can able to ping the server without any packet loss -
$ ping commondatastorage.googleapis.com
PING commondatastorage.googleapis.com (216.58.203.16) 56(84) bytes of data.64 bytes from bom12s04-in-f16.1e100.net (216.58.203.16): icmp_seq=1 ttl=111 time=77.3 ms
64 bytes from bom12s04-in-f16.1e100.net (216.58.203.16): icmp_seq=2 ttl=111 time=73.2 ms
^C
--- commondatastorage.googleapis.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1002ms
rtt min/avg/max/mdev = 73.292/75.319/77.347/2.045 ms
$
2. If ping fails then check your connectivity
3. If connectivity is ok, check with your administrator if they have mistakenly set any firewall rule to block.
Regards,
Radhika Somaiya
ok ,thanks ,but my net can not ping commondatastorage.googleapis.com,
and then ,what do i can test my connetivity.
but i can ping baidu.com,so what can i do ?
What can do i?
Can you give me some instructions?
Ok,thanks
but I have a question
my ubuntu uses source of 163,so i want to know whether to chang to the source of 163?
or ,i will change my source of 163 to Tsinghua.