Difference between revisions of "OS: Android - Membuat Mirror Source"

From OnnoWiki
Jump to navigation Jump to search
Line 29: Line 29:
 
  repo init -u git://github.com/CyanogenMod/android.git --mirror
 
  repo init -u git://github.com/CyanogenMod/android.git --mirror
 
  repo sync
 
  repo sync
 +
 +
 +
==Inisialisasi Repo==
 +
 +
rm -Rf /usr/local/aosp/mirror/.repo
 +
cd /usr/local/aosp/mirror
 +
repo init -u https://android.googlesource.com/mirror/manifest --mirror
 +
 +
rm -Rf  cd /usr/local/aokp/mirror/.repo
 +
cd /usr/local/aokp/mirror
 +
repo init -u git://github.com/AOKP/platform_manifest.git --mirror
 +
 +
rm -Rf /usr/local/cyanogenmod/mirror/.repo
 +
cd /usr/local/cyanogenmod/mirror
 +
repo init -u git://github.com/CyanogenMod/android.git --mirror
 +
 +
==Update Mirror Repo==
 +
 +
Sebagai user biasa lakukan
 +
 +
cd /usr/local/aosp/mirror
 +
repo sync
 +
 +
cd /usr/local/aokp/mirror
 +
repo sync
 +
 +
cd /usr/local/cyanogenmod/mirror
 +
repo sync
 +
  
 
==Pranala Menarik==
 
==Pranala Menarik==

Revision as of 08:11, 2 September 2013

Mirror Source AOSP (Google)

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

Mirror Source AOKP

sudo mkdir -p /usr/local/aokp/mirror
sudo mount --bind /media/onno/onnolibrary/repository/android-source/mirror-aokp/ /usr/local/aokp/mirror/
sudo chmod -Rf 777 /usr/local/aokp
sudo chown -Rf nobody.nogroup /usr/local/aokp
cd /usr/local/aokp/mirror
repo init -u git://github.com/AOKP/platform_manifest.git --mirror
repo sync

Mirror Source CyanogenMod

sudo mkdir -p /usr/local/cyanogenmod/mirror
sudo mount --bind /media/onno/onnolibrary/repository/android-source/mirror-cyanogenmod/ /usr/local/cyanogenmod/mirror/
sudo chmod -Rf 777 /usr/local/cyanogenmod
sudo chown -Rf nobody.nogroup /usr/local/cyanogenmod
cd /usr/local/cyanogenmod/mirror
repo init -u git://github.com/CyanogenMod/android.git --mirror
repo sync


Inisialisasi Repo

rm -Rf /usr/local/aosp/mirror/.repo
cd /usr/local/aosp/mirror
repo init -u https://android.googlesource.com/mirror/manifest --mirror
rm -Rf  cd /usr/local/aokp/mirror/.repo
cd /usr/local/aokp/mirror
repo init -u git://github.com/AOKP/platform_manifest.git --mirror
rm -Rf /usr/local/cyanogenmod/mirror/.repo
cd /usr/local/cyanogenmod/mirror
repo init -u git://github.com/CyanogenMod/android.git --mirror

Update Mirror Repo

Sebagai user biasa lakukan

cd /usr/local/aosp/mirror
repo sync
cd /usr/local/aokp/mirror
repo sync
cd /usr/local/cyanogenmod/mirror
repo sync


Pranala Menarik