The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/distrobuilder/pull/272
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) === This updates the location of both sha256 and its signature file. Signed-off-by: Thomas Hipp <thomas.h...@canonical.com>
From d23d9182fef0471a363926dc3ea98fe6a0862245 Mon Sep 17 00:00:00 2001 From: Thomas Hipp <thomas.h...@canonical.com> Date: Tue, 21 Jan 2020 07:54:47 +0100 Subject: [PATCH] sources/void: Update location of checksums This updates the location of both sha256 and its signature file. Signed-off-by: Thomas Hipp <thomas.h...@canonical.com> --- sources/voidlinux-http.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sources/voidlinux-http.go b/sources/voidlinux-http.go index 8a1780d..4454213 100644 --- a/sources/voidlinux-http.go +++ b/sources/voidlinux-http.go @@ -37,8 +37,8 @@ func (s *VoidLinuxHTTP) Run(definition shared.Definition, rootfsDir string) erro } tarball := fmt.Sprintf("%s/%s", baseURL, fname) - digests := fmt.Sprintf("%s/sha256sums.txt", baseURL) - signatures := fmt.Sprintf("%s/sha256sums.txt.sig", baseURL) + digests := fmt.Sprintf("%s/sha256.txt", baseURL) + signatures := fmt.Sprintf("%s/sha256.sig", baseURL) url, err := url.Parse(tarball) if err != nil { @@ -66,8 +66,8 @@ func (s *VoidLinuxHTTP) Run(definition shared.Definition, rootfsDir string) erro shared.DownloadHash(definition.Image, digests, "", nil) shared.DownloadHash(definition.Image, signatures, "", nil) valid, err := shared.VerifyFile( - filepath.Join(fpath, "sha256sums.txt"), - filepath.Join(fpath, "sha256sums.txt.sig"), + filepath.Join(fpath, "sha256.txt"), + filepath.Join(fpath, "sha256.sig"), definition.Source.Keys, definition.Source.Keyserver) if err != nil {
_______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel