-
-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update CLI install guide sample release version
- Loading branch information
1 parent
aa99ab6
commit db6143c
Showing
1 changed file
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 < <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 < <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 < <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 < <var>DEVICE_NAME</var>-factory-2024020500.zip'</pre> | ||
|
||
<p>This will producing the following output when successful:</p> | ||
|
||
|
@@ -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> | ||
|
||
|