From ddcd805d1e2a74e7c35fde9fca91ab526fef0869 Mon Sep 17 00:00:00 2001 From: Konsta Date: Sat, 1 Jul 2023 09:02:44 +0300 Subject: [PATCH] clarify instructions on reducing download size * Fixes https://github.com/raspberry-vanilla/android_local_manifest/issues/4 & https://github.com/raspberry-vanilla/android_local_manifest/issues/18 --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6b31008..6a960f1 100644 --- a/README.md +++ b/README.md @@ -20,10 +20,11 @@ repo init -u https://android.googlesource.com/platform/manifest -b android-12.1. curl --create-dirs -L -o .repo/local_manifests/manifest_brcm_rpi4.xml -O -L https://raw.githubusercontent.com/raspberry-vanilla/android_local_manifest/android-12.1/manifest_brcm_rpi4.xml ``` -You can also reduce download size by creating a shallow clone and removing unneeded projects (optional): +Or optionally, you can reduce download size by creating a shallow clone and removing unneeded projects: ``` repo init -u https://android.googlesource.com/platform/manifest -b android-12.1.0_r22 --depth=1 +curl --create-dirs -L -o .repo/local_manifests/manifest_brcm_rpi4.xml -O -L https://raw.githubusercontent.com/raspberry-vanilla/android_local_manifest/android-12.1/manifest_brcm_rpi4.xml curl --create-dirs -L -o .repo/local_manifests/remove_projects.xml -O -L https://raw.githubusercontent.com/raspberry-vanilla/android_local_manifest/android-12.1/remove_projects.xml ```