summaryrefslogtreecommitdiff
path: root/static/install
diff options
context:
space:
mode:
authorDaniel Micay <daniel.micay@grapheneos.org>2024-02-15 05:42:58 -0500
committerDaniel Micay <daniel.micay@grapheneos.org>2024-02-15 05:44:45 -0500
commit7bf1a8d29982c728e9a2095c569d284ef810becb (patch)
treec8aa9415553f0cec0d0916830a6fc4f6a21be2f5 /static/install
parentaa99ab6c7a9971cd9f0455e408cbe5b55d23ef00 (diff)
use variable for CLI install guide version
Diffstat (limited to 'static/install')
-rw-r--r--static/install/cli.html18
1 files changed, 9 insertions, 9 deletions
diff --git a/static/install/cli.html b/static/install/cli.html
index 35490bec..9f745ea5 100644
--- a/static/install/cli.html
+++ b/static/install/cli.html
@@ -425,21 +425,21 @@ signify -V -m allowed_signers -x allowed_signers.sig -p factory.pub</pre>
<p>When the current signing key is replaced, the new key will be signed with it.</p>
<p>Download the factory images for the device from <a href="/releases">the releases
- page</a>. For example, to download the 2021110122 release for a device with the
- codename <code><var>DEVICE_NAME</var></code>:</p>
+ page</a>. For example, to download the <code><var>VERSION</var></code> release for
+ a device with the codename <code><var>DEVICE_NAME</var></code>:</p>
- <pre>curl -O https://releases.grapheneos.org/<var>DEVICE_NAME</var>-factory-2021110122.zip
-curl -O https://releases.grapheneos.org/<var>DEVICE_NAME</var>-factory-2021110122.zip.sig</pre>
+ <pre>curl -O https://releases.grapheneos.org/<var>DEVICE_NAME</var>-factory-<var>VERSION</var>.zip
+curl -O https://releases.grapheneos.org/<var>DEVICE_NAME</var>-factory-<var>VERSION</var>.zip.sig</pre>
<p>Next, verify the factory images using the signature.</p>
<p>On Linux and macOS:</p>
- <pre>ssh-keygen -Y verify -f allowed_signers -I contact@grapheneos.org -n "factory images" -s <var>DEVICE_NAME</var>-factory-2021110122.zip.sig &lt; <var>DEVICE_NAME</var>-factory-2021110122.zip</pre>
+ <pre>ssh-keygen -Y verify -f allowed_signers -I contact@grapheneos.org -n "factory images" -s <var>DEVICE_NAME</var>-factory-<var>VERSION</var>.zip.sig &lt; <var>DEVICE_NAME</var>-factory-<var>VERSION</var>.zip</pre>
<p>On Windows:</p>
- <pre>cmd /c 'ssh-keygen -Y verify -f allowed_signers -I contact@grapheneos.org -n "factory images" -s <var>DEVICE_NAME</var>-factory-2021110122.zip.sig &lt; <var>DEVICE_NAME</var>-factory-2021110122.zip'</pre>
+ <pre>cmd /c 'ssh-keygen -Y verify -f allowed_signers -I contact@grapheneos.org -n "factory images" -s <var>DEVICE_NAME</var>-factory-<var>VERSION</var>.zip.sig &lt; <var>DEVICE_NAME</var>-factory-<var>VERSION</var>.zip'</pre>
<p>This will producing the following output when successful:</p>
@@ -456,15 +456,15 @@ curl -O https://releases.grapheneos.org/<var>DEVICE_NAME</var>-factory-202111012
<p>On Linux:</p>
- <pre>bsdtar xvf <var>DEVICE_NAME</var>-factory-2021110122.zip</pre>
+ <pre>bsdtar xvf <var>DEVICE_NAME</var>-factory-<var>VERSION</var>.zip</pre>
<p>On macOS and Windows:</p>
- <pre>tar xvf <var>DEVICE_NAME</var>-factory-2021110122.zip</pre>
+ <pre>tar xvf <var>DEVICE_NAME</var>-factory-<var>VERSION</var>.zip</pre>
<p>Move into the directory:</p>
- <pre>cd <var>DEVICE_NAME</var>-factory-2021110122</pre>
+ <pre>cd <var>DEVICE_NAME</var>-factory-<var>VERSION</var></pre>
<p>Flash the images with the flash-all script in the directory.</p>