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?
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
After NFS, do you mean that needs to copy all contents under myandroid directory? both .repo and the rest checkouted files?
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
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