[lxc-devel] [distrobuilder/master] sources/centos: Fix CentOS 8 checksum file
monstermunchkin on Github
lxc-bot at linuxcontainers.org
Tue Jun 16 13:41:10 UTC 2020
A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 310 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20200616/615ab0f8/attachment.bin>
-------------- next part --------------
From 41e4e5f9ea5d6d9c3fdc1ed8fb9383a6e9fbbdea Mon Sep 17 00:00:00 2001
From: Thomas Hipp <thomas.hipp at canonical.com>
Date: Tue, 16 Jun 2020 15:40:26 +0200
Subject: [PATCH] sources/centos: Fix CentOS 8 checksum file
Signed-off-by: Thomas Hipp <thomas.hipp at canonical.com>
---
sources/centos-http.go | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/sources/centos-http.go b/sources/centos-http.go
index 3870c1f..922378e 100644
--- a/sources/centos-http.go
+++ b/sources/centos-http.go
@@ -80,11 +80,7 @@ func (s *CentOSHTTP) Run(definition shared.Definition, rootfsDir string) error {
checksumFile = "sha256sum.txt"
} else {
if strings.HasPrefix(definition.Image.Release, "8") {
- if strings.HasSuffix(definition.Image.Release, "-Stream") {
- checksumFile = "CHECKSUM"
- } else {
- checksumFile = "CHECKSUM.asc"
- }
+ checksumFile = "CHECKSUM"
} else {
checksumFile = "sha256sum.txt.asc"
}
More information about the lxc-devel
mailing list