diff options
Diffstat (limited to 'app-containers/lxd/files/lxd-5.18-handle-regression-in-lxd_combined.tar.gz-handling.patch')
-rw-r--r-- | app-containers/lxd/files/lxd-5.18-handle-regression-in-lxd_combined.tar.gz-handling.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/app-containers/lxd/files/lxd-5.18-handle-regression-in-lxd_combined.tar.gz-handling.patch b/app-containers/lxd/files/lxd-5.18-handle-regression-in-lxd_combined.tar.gz-handling.patch new file mode 100644 index 000000000000..025a9e6a8e6c --- /dev/null +++ b/app-containers/lxd/files/lxd-5.18-handle-regression-in-lxd_combined.tar.gz-handling.patch @@ -0,0 +1,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. |