The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/distrobuilder/pull/158
This e-mail was sent by the LXC bot, direct replies will not reach the author unless they happen to be subscribed to this list. === Description (from pull-request) === Use the same mirror for the actual image and the checksum file. Signed-off-by: Thomas Hipp <thomas.h...@canonical.com>
From 9f399351a7bd9c394ae89aac7a37901dcfcaa69e Mon Sep 17 00:00:00 2001 From: Thomas Hipp <thomas.h...@canonical.com> Date: Mon, 25 Mar 2019 17:14:01 +0100 Subject: [PATCH] sources: Fix openSUSE mirror Use the same mirror for the actual image and the checksum file. Signed-off-by: Thomas Hipp <thomas.h...@canonical.com> --- sources/opensuse-http.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/opensuse-http.go b/sources/opensuse-http.go index 9b493a3..ddcc80b 100644 --- a/sources/opensuse-http.go +++ b/sources/opensuse-http.go @@ -55,7 +55,7 @@ func (s *OpenSUSEHTTP) Run(definition shared.Definition, rootfsDir string) error return lxd.Unpack(filepath.Join(fpath, fname), rootfsDir, false, false, nil) } - checksumPath := fmt.Sprintf("%s.sha256", tarballPath) + checksumPath := fmt.Sprintf("%s/%s.sha256", baseURL, fname) checksumFile := path.Base(checksumPath) shared.DownloadHash(definition.Image, checksumPath, "", nil)
_______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel