diff options
| author | Dmitry Muhomor <muhomor.dmitry@gmail.com> | 2024-08-06 20:15:51 +0300 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2024-08-07 18:48:43 -0400 |
| commit | 4ba597e0f5f635b6fa880fa4a9bbf5918a6438a8 (patch) | |
| tree | 48757b4c22fdbb2761084974082d6b2aad3d0b8e /static | |
| parent | ce4e48fa6ae278b5917e95d7967e57c9f97b1730 (diff) | |
update build instruction now that adevtool no longer uses python
Diffstat (limited to 'static')
| -rw-r--r-- | static/build.html | 37 |
1 files changed, 1 insertions, 36 deletions
diff --git a/static/build.html b/static/build.html index 7c3a5ac9..8336d3e5 100644 --- a/static/build.html +++ b/static/build.html @@ -201,7 +201,7 @@ <p>To build GrapheneOS, install the required packages:</p> - <pre>apt install repo yarnpkg python3-venv zip rsync</pre> + <pre>apt install repo yarnpkg zip rsync</pre> <p>Your <code>PATH</code> may not contain directories like <code>/sbin</code>, and many system administration commands will fail. The @@ -271,8 +271,6 @@ source ~/.bashrc</pre> <p>Additional dependencies for extracting vendor files with adevtool:</p> <ul> - <li>Optional: venv module for Python 3</li> - <li>protobuf library for Python 3</li> <li>Node.js 18 LTS</li> <li>yarn</li> <li>e2fsprogs (for the debugfs command used for extracting data from ext4 images)</li> @@ -406,44 +404,11 @@ source build/envsetup.sh lunch sdk_phone64_x86_64-cur-user m aapt2</pre> - <div class="notice"> - <p class="notice-heading">Optional</p> - - <p>Run the following additional commands once to create a working - environment if your Linux distribution (such as Debian bookworm) doesn't - have the Protobuf library for Python 3 package version (5.)27.2 or later. - This installs the latest library version in a Python 3 virtual - environment.</p> - - <pre>python3 -m venv venv -source venv/bin/activate -pip install protobuf -deactivate</pre> - </div> - - <div class="notice"> - <p class="notice-heading">Optional</p> - - <p>If you have installed the Protobuf library in the Python 3 virtual - environment, activate the environment:</p> - - <pre>source venv/bin/activate</pre> - </div> - <p>Download, extract and prepare the vendor files:</p> <pre>adevtool generate-all -d <var>PIXEL_CODENAME</var></pre> <p>Replace <code><var>PIXEL_CODENAME</var></code> with Pixel device codename, which is the same as <a href="#build-targets">build target name</a>.</p> - - <div class="notice"> - <p class="notice-heading">Optional</p> - - <p>If you have installed the Protobuf library in the Python 3 virtual - environment, deactivate the environment:</p> - - <pre>deactivate</pre> - </div> </section> <section id="setting-up-the-os-build-environment"> |
