From f31d11bd248c5ad93c9c9cd11d0f4f0bc1b72619 Mon Sep 17 00:00:00 2001 From: Ziyang Zhou Date: Tue, 17 Oct 2023 19:54:13 +0800 Subject: [PATCH] update to use local manifests to fetch code --- android-builder-docker/README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/android-builder-docker/README.md b/android-builder-docker/README.md index a2680a9..f60030c 100644 --- a/android-builder-docker/README.md +++ b/android-builder-docker/README.md @@ -6,6 +6,24 @@ ##################### mkdir ~/redroid && cd ~/redroid +# check supported branch in https://github.com/remote-android/redroid-patches.git +repo init -u https://android.googlesource.com/platform/manifest --git-lfs --depth=1 -b 11.0.0_r48 + +# add local manifests +git clone https://github.com/remote-android/local_manifests.git ~/redroid/.repo/local_manifests -b 11.0.0 + +# sync code +repo sync -c + +# apply redroid patches +git clone https://github.com/remote-android/redroid-patches.git ~/redroid-patches +~/redroid-patches/apply-patch.sh ~/redroid + +##################### +# fetch code (LEGACY) +##################### +mkdir ~/redroid && cd ~/redroid + repo init -u https://github.com/remote-android/platform_manifests.git -b redroid-11.0.0 --depth=1 --git-lfs # check @remote-android/platform_manifests for supported branch / manifest