How to duplicate android src code & fsl patches to other PCs

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to duplicate android src code & fsl patches to other PCs

1,510件の閲覧回数
yifeiwang
Contributor III

I've downloaded all repo, git and fsl patches for JB 4.2.2_r1 in one PC, and built android without any problem. Now I'd like to duplicate all these source code to several other PCs, instead of downloading from internet(slow) again, is there any better way to do that? looks like I don't need to copy both .git directory and checkouted source code, is that right? how about fsl's patches?

ラベル(2)
0 件の賞賛
返信
4 返答(返信)

1,134件の閲覧回数
LeonardoSandova
Specialist I

Set the system in the main machine, without building. Then you can NFS export the myandroid folder, then mount it on the rest of the machines and make copies of it. Git HEADs (last commit on a repo) will be in right correct places (which were set originally by the repo init command).

Leo

0 件の賞賛
返信

1,134件の閲覧回数
yifeiwang
Contributor III

After NFS, do you mean that needs to copy all contents under myandroid directory? both .repo and the rest checkouted files?

0 件の賞賛
返信

1,134件の閲覧回数
LeonardoSandova
Specialist I

Hi,

I believe I took the long way. If you need the A's myandroid, why don't you tar it and untar it on the rest of the machines? I think that would be the fastest. The NFS stuff was to avoid the tarball, but for this task it is much easier to share the tarball.

Leo

0 件の賞賛
返信

1,134件の閲覧回数
yifeiwang
Contributor III

Thanks a lot for your reply, can you elaborate more? Let’s say my PC1 has already downloaded

all android src code & fsl patches under ~/myandroid, my another PC2 needs to duplicate src code.

I’m familiar with linux, but new to git, repo. If possible, pls give detail commands, thanks.

Regards,

YiFei

0 件の賞賛
返信