use variable for CLI install guide version
This commit is contained in:
parent
aa99ab6c7a
commit
7bf1a8d299
@ -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 < <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 < <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 < <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 < <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>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user