You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-containers/lxd/files/lxd-5.18-handle-regression-...

22 lines
910 B

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.