[lxc-devel] [distrobuilder/master] centos: Fix checksum file name
monstermunchkin on Github
lxc-bot at linuxcontainers.org
Fri Jul 6 10:13:02 UTC 2018
A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 364 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20180706/2f80841f/attachment.bin>
-------------- next part --------------
From 9d48f5d607595a4b40ee7a69ce491bd2d4db0d87 Mon Sep 17 00:00:00 2001
From: Thomas Hipp <thomas.hipp at canonical.com>
Date: Fri, 6 Jul 2018 12:12:35 +0200
Subject: [PATCH] centos: Fix checksum file name
Signed-off-by: Thomas Hipp <thomas.hipp at canonical.com>
---
sources/centos-http.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sources/centos-http.go b/sources/centos-http.go
index 0b68617..5bc68e2 100644
--- a/sources/centos-http.go
+++ b/sources/centos-http.go
@@ -52,7 +52,7 @@ func (s *CentOSHTTP) Run(definition shared.Definition, rootfsDir string) error {
return errors.New("GPG keys are required if downloading from HTTP")
}
- checksumFile = "sha256sum.txt"
+ checksumFile = "sha256sum.txt.asc"
shared.DownloadSha256(baseURL+checksumFile, "")
valid, err := shared.VerifyFile(filepath.Join(os.TempDir(), checksumFile), "",
definition.Source.Keys, definition.Source.Keyserver)
More information about the lxc-devel
mailing list