轉載地址:http://blog.chinaunix.net/uid-29697378-id-4293520.html
kernel.org無法訪問導致android的源碼無法下載,這是另外一個git服務器的android源碼的repo文件。
操作如下
$ curl "http://php.webtutor.pl/en/wp-content/uploads/2011/09/repo" > ~/bin //獲取repo
$ chmod a+x repo
$ PATH= ~/bin:$PATH
下面就是獲取源碼了:
$ repo init -u git://git.omapzoom.org/platform/omapmanifest.git -b 27.x -m RLS27.12.1-P2_Gingerbread.xml
$ repo sync