From 92a9a3adda432ad2b7af58e08f5493ed6dc81196 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 22 Sep 2023 11:16:57 +0100 Subject: gentoo auto-resync : 22:09:2023 - 11:16:57 --- ...regression-in-lxd_combined.tar.gz-handling.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 app-containers/lxd/files/lxd-5.18-handle-regression-in-lxd_combined.tar.gz-handling.patch (limited to 'app-containers/lxd/files') 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 +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 +--- 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. -- cgit v1.2.3