Skip to content

Commit

Permalink
update CLI install guide sample release version
Browse files Browse the repository at this point in the history
  • Loading branch information
thestinger committed Feb 15, 2024
1 parent aa99ab6 commit db6143c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions static/install/cli.html
Original file line number Diff line number Diff line change
Expand Up @@ -425,21 +425,21 @@ <h2><a href="#obtaining-factory-images">Obtaining factory images</a></h2>
<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
page</a>. For example, to download the 2024020500 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-2024020500.zip
curl -O https://releases.grapheneos.org/<var>DEVICE_NAME</var>-factory-2024020500.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 [email protected] -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 [email protected] -n "factory images" -s <var>DEVICE_NAME</var>-factory-2024020500.zip.sig &lt; <var>DEVICE_NAME</var>-factory-2024020500.zip</pre>

<p>On Windows:</p>

<pre>cmd /c 'ssh-keygen -Y verify -f allowed_signers -I [email protected] -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 [email protected] -n "factory images" -s <var>DEVICE_NAME</var>-factory-2024020500.zip.sig &lt; <var>DEVICE_NAME</var>-factory-2024020500.zip'</pre>

<p>This will producing the following output when successful:</p>

Expand All @@ -456,15 +456,15 @@ <h2><a href="#flashing-factory-images">Flashing factory images</a></h2>

<p>On Linux:</p>

<pre>bsdtar xvf <var>DEVICE_NAME</var>-factory-2021110122.zip</pre>
<pre>bsdtar xvf <var>DEVICE_NAME</var>-factory-2024020500.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-2024020500.zip</pre>

<p>Move into the directory:</p>

<pre>cd <var>DEVICE_NAME</var>-factory-2021110122</pre>
<pre>cd <var>DEVICE_NAME</var>-factory-2024020500</pre>

<p>Flash the images with the flash-all script in the directory.</p>

Expand Down

0 comments on commit db6143c

Please sign in to comment.