summaryrefslogtreecommitdiff
path: root/static/build.html
diff options
context:
space:
mode:
authorsandbank52641 <153552626+sandbank52641@users.noreply.github.com>2024-07-14 19:36:15 +0200
committerDaniel Micay <daniel.micay@grapheneos.org>2024-07-20 12:01:32 -0400
commitb6d22068ec11bc652e7b98ed9c4f8afb95b47146 (patch)
tree3feecd8c33ad44cd95a9e4e7a70e421e587395cc /static/build.html
parent0c6c5b73be6f3872b44c5685593512468eeb09d2 (diff)
add setup details for Debian bookworm
Diffstat (limited to 'static/build.html')
-rw-r--r--static/build.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/static/build.html b/static/build.html
index 7a465aba..954bb708 100644
--- a/static/build.html
+++ b/static/build.html
@@ -193,6 +193,24 @@
<p>Arch Linux, Debian bookworm, Ubuntu 23.04 and Ubuntu 22.04 LTS are the
officially supported operating systems for building GrapheneOS.</p>
+ <details>
+ <summary>Set up Debian GNU/Linux 12 (bookworm)</summary>
+
+ <p>To build GrapheneOS, install the required packages:</p>
+
+ <pre>apt install repo yarnpkg python3-venv zip rsync</pre>
+
+ <p>Your <code>PATH</code> may not contain directories like
+ <code>/sbin</code>, and many system administration commands will fail. The
+ <code>adevtool</code> from GrapheneOS requires the <code>debugfs</code>
+ binary in <code>/sbin</code>. The simplest workaround is to add these
+ directories to your <code>PATH</code> environment variable (and apply the
+ change to your current shell):</p>
+
+ <pre>echo 'export PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin' >> ~/.bashrc
+source ~/.bashrc</pre>
+ </details>
+
<p>Dependencies for fetching and verifying the sources:</p>
<ul>