Difference between revisions of "OS: Android - Mirror Source"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 32: | Line 32: | ||
* http://source.android.com/source/downloading.html | * http://source.android.com/source/downloading.html | ||
+ | * http://soupdawg.wordpress.com/ |
Revision as of 12:54, 29 August 2013
Untuk beberapa client sekaligus, sebaiknya kita menggunakan mirror. Asumsinya kita melalukan mirror pada /usr/local/aosp/mirror. Lakukan sebagai user biasa
sudo mkdir -p /usr/local/aosp/mirror sudo mount --bind /media/onno/onnolibrary/repository/android-source/mirror/ /usr/local/aosp/mirror/ sudo chmod -Rf 777 /usr/local/aosp sudo chown -Rf nobody.nogroup /usr/local/aosp cd /usr/local/aosp/mirror repo init -u https://android.googlesource.com/mirror/manifest --mirror repo sync
Di sisi client, dapat melakukan sebagai userbiasa
mkdir -p ~/android-source cd ~/android-source repo init -u /usr/local/aosp/mirror/platform/manifest.git repo sync
Untuk melakukan sync, lakukan secara berurut, dari sisi mirror dan dari sisi master.
cd /usr/local/aosp/mirror repo sync
cd ~/android-source repo sync
Mirror dapat dilakukan melalui NFS, SSH atau Git. Folder mirror dapat di share ke harddisk lain.