Lets patches be laid out as android/<version>/<real-aosp-path>/*.patch
and still land in the correct project, instead of every patch under a
mapped folder going to one fixed target.
local_manifests values are normally a single URL. The remove_projects
key may instead be a list of URLs, merged/de-duplicated into a single
manifest fragment rather than one file per key. Document repo.yml
structure in README and add a fully commented example.repo.yml.
Manifests were only downloaded during repo init, so changes to the
manifest repo were silently ignored on subsequent syncs. Now --forceResync
also re-fetches all local_manifests from the URLs in repo.yml.
Before attempting git apply, run git apply --check --reverse to see
if the patch is already present. If it is, return success immediately
instead of falling through to fuzzy apply and reporting FAILED.
setup-2drive-build.sh now symlinks the AOSP source dir itself to the
NVMe (not just out/), preventing the OS SSD from filling during repo sync.
setup-ccache.sh persists all ccache env vars to ~/.bashrc so they survive
new shell sessions, and accepts cache size as an optional argument.