diff --git a/static/build.html b/static/build.html index a325a2b2..8f5598f3 100644 --- a/static/build.html +++ b/static/build.html @@ -764,12 +764,14 @@ git checkout $CORRECT_BRANCH_OR_TAG

Sync to the latest stable release for Android (replace $VERSION with the correct value):

-
gclient sync -D --with_branch_heads --with_tags -r $VERSION --jobs 32
+
cd src
+git fetch --tags
+git checkout $VERSION
+gclient sync -D --with_branch_heads --with_tags --jobs 32

Apply the GrapheneOS patches on top of the tagged release:

-
cd src
-git am --whitespace=nowarn ../patches/*.patch
+
git am --whitespace=nowarn ../patches/*.patch

Then, configure the build in the src directory: