summaryrefslogtreecommitdiff
blob: 025a9e6a8e6c9aa5ed7756d7fd3663d623479254 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
https://github.com/canonical/lxd/commit/2d8481712055d0cbb3bd952e25a1df469939990d.patch
From: Thomas Parrott <thomas.parrott@canonical.com>
Date: Thu, 21 Sep 2023 22:12:19 +0100
Subject: [PATCH] shared/simplestreams/products: Fix regression in
 lxd_combined.tar.gz handling

For reasons that are likely lost to history simplestreams uses lxd.tar.xz
whereas the combined file is lxd_combined.tar.gz (not xz).

Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
--- a/shared/simplestreams/products.go
+++ b/shared/simplestreams/products.go
@@ -10,7 +10,7 @@ import (
 	"github.com/canonical/lxd/shared/osarch"
 )
 
-var lxdCompatCombinedItems = []string{"lxd_combined.tar.xz", "incus_combined.tar.xz"}
+var lxdCompatCombinedItems = []string{"lxd_combined.tar.gz", "incus_combined.tar.gz"}
 var lxdCompatItems = []string{"lxd.tar.xz", "incus.tar.xz"}
 
 // Products represents the base of download.json.