forked from dopaemon/AOSP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsync
executable file
·14 lines (11 loc) · 1.19 KB
/
sync
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash
mkdir -p /tmp/rom # Where to sync source
cd /tmp/rom
repo init --depth=1 --no-repo-verify -u https://github.com/CherishOS/android_manifest.git -b test -g default,-device,-mips,-darwin,-notdefault
repo sync -v -c --no-clone-bundle --no-tags --optimized-fetch --prune --force-sync -j$(nproc --all) || repo sync -c --no-clone-bundle --no-tags --optimized-fetch --prune --force-sync -j$(nproc --all)
git clone --single-branch -b cherish-11-ng https://github.com/KernelPanic-OpenSource/android_device_xiaomi_whyred.git device/xiaomi/whyred
git clone --single-branch -b cherish-11 https://github.com/KernelPanic-OpenSource/android_vendor_xiaomi_whyred.git vendor/xiaomi/whyred
git clone --single-branch -b cherish-11 https://github.com/KernelPanic-OpenSource/android_device_xiaomi_sdm660-common.git device/xiaomi/sdm660-common
git clone --single-branch -b cherish-11 https://github.com/KernelPanic-OpenSource/android_vendor_xiaomi_sdm660-common.git vendor/xiaomi/sdm660-common
git clone --single-branch -b android-11 https://github.com/KernelPanic-OpenSource/android_vendor_MiuiCamera.git vendor/MiuiCamera
git clone --single-branch -b extended-eas https://github.com/attack11/Whyred.git kernel/xiaomi/whyred