From 7bf1a8d29982c728e9a2095c569d284ef810becb Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Thu, 15 Feb 2024 05:42:58 -0500 Subject: [PATCH] use variable for CLI install guide version --- static/install/cli.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/static/install/cli.html b/static/install/cli.html index 35490bec4..9f745ea53 100644 --- a/static/install/cli.html +++ b/static/install/cli.html @@ -425,21 +425,21 @@

Obtaining factory images

When the current signing key is replaced, the new key will be signed with it.

Download the factory images for the device from the releases - page. For example, to download the 2021110122 release for a device with the - codename DEVICE_NAME:

+ page. For example, to download the VERSION release for + a device with the codename DEVICE_NAME:

-
curl -O https://releases.grapheneos.org/DEVICE_NAME-factory-2021110122.zip
-curl -O https://releases.grapheneos.org/DEVICE_NAME-factory-2021110122.zip.sig
+
curl -O https://releases.grapheneos.org/DEVICE_NAME-factory-VERSION.zip
+curl -O https://releases.grapheneos.org/DEVICE_NAME-factory-VERSION.zip.sig

Next, verify the factory images using the signature.

On Linux and macOS:

-
ssh-keygen -Y verify -f allowed_signers -I contact@grapheneos.org -n "factory images" -s DEVICE_NAME-factory-2021110122.zip.sig < DEVICE_NAME-factory-2021110122.zip
+
ssh-keygen -Y verify -f allowed_signers -I contact@grapheneos.org -n "factory images" -s DEVICE_NAME-factory-VERSION.zip.sig < DEVICE_NAME-factory-VERSION.zip

On Windows:

-
cmd /c 'ssh-keygen -Y verify -f allowed_signers -I contact@grapheneos.org -n "factory images" -s DEVICE_NAME-factory-2021110122.zip.sig < DEVICE_NAME-factory-2021110122.zip'
+
cmd /c 'ssh-keygen -Y verify -f allowed_signers -I contact@grapheneos.org -n "factory images" -s DEVICE_NAME-factory-VERSION.zip.sig < DEVICE_NAME-factory-VERSION.zip'

This will producing the following output when successful:

@@ -456,15 +456,15 @@

Flashing factory images

On Linux:

-
bsdtar xvf DEVICE_NAME-factory-2021110122.zip
+
bsdtar xvf DEVICE_NAME-factory-VERSION.zip

On macOS and Windows:

-
tar xvf DEVICE_NAME-factory-2021110122.zip
+
tar xvf DEVICE_NAME-factory-VERSION.zip

Move into the directory:

-
cd DEVICE_NAME-factory-2021110122
+
cd DEVICE_NAME-factory-VERSION

Flash the images with the flash-all script in the directory.