From 880d6477ab729449c5eb05b6fdb0c975e6c69854 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Wed, 11 Nov 2020 18:39:13 -0500 Subject: [PATCH] improve Chromium sync instructions --- static/build.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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: