From de104c41529b32821134bb8292880512bdb10a78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20L=C3=B6vdahl?= Date: Fri, 8 Nov 2024 22:22:39 +0200 Subject: [PATCH 1/2] Fix APT repository instructions to work MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The instructions on https://www.envoyproxy.io/docs/envoy/v1.32.1/start/install#install-envoy-on-debian-based-linux are correct, but the instructions here did not work out of the box. Signed-off-by: Sebastian Lövdahl --- site/theme/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site/theme/index.html b/site/theme/index.html index 601c630..3e0d2a6 100644 --- a/site/theme/index.html +++ b/site/theme/index.html @@ -29,8 +29,8 @@

Install Envoy with apt

role="tabpanel" aria-labelledby="{{ version }}-tab">

-$ wget {{ SITEURL }}/signing.key  | sudo gpg --dearmor -o /etc/apt/keyrings/envoy-keyring.gpg
-$ echo "deb[signed-by=/etc/apt/keyrings/envoy-keyring.gpg] {{ SITEURL }} {{ version }} main" | sudo tee /etc/apt/sources.list.d/envoy.list
+$ wget -O- {{ SITEURL }}/signing.key | sudo gpg --dearmor -o /etc/apt/keyrings/envoy-keyring.gpg
+$ echo "deb [arch=$(dpkg --print-architecture), signed-by=/etc/apt/keyrings/envoy-keyring.gpg] {{ SITEURL }} {{ version }} main" | sudo tee /etc/apt/sources.list.d/envoy.list
 $ sudo apt-get update
 $ sudo apt-get install envoy
 $ envoy --version

From 907853607b1b6ca8e64d182959fb3d8873fe6ec6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Sebastian=20L=C3=B6vdahl?= 
Date: Sat, 9 Nov 2024 20:43:14 +0200
Subject: [PATCH 2/2] Remove comma that shouldn't be there
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Sebastian Lövdahl 
---
 site/theme/index.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/site/theme/index.html b/site/theme/index.html
index 3e0d2a6..d7c7a28 100644
--- a/site/theme/index.html
+++ b/site/theme/index.html
@@ -30,7 +30,7 @@ 

Install Envoy with apt

aria-labelledby="{{ version }}-tab">

 $ wget -O- {{ SITEURL }}/signing.key | sudo gpg --dearmor -o /etc/apt/keyrings/envoy-keyring.gpg
-$ echo "deb [arch=$(dpkg --print-architecture), signed-by=/etc/apt/keyrings/envoy-keyring.gpg] {{ SITEURL }} {{ version }} main" | sudo tee /etc/apt/sources.list.d/envoy.list
+$ echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/envoy-keyring.gpg] {{ SITEURL }} {{ version }} main" | sudo tee /etc/apt/sources.list.d/envoy.list
 $ sudo apt-get update
 $ sudo apt-get install envoy
 $ envoy --version