1
0
mirror of https://github.com/lxc/distrobuilder.git synced 2026-02-05 06:45:19 +01:00

Merge pull request #967 from chaosoffire-org/fix-4

Fix CentOS Stream 10 checksum file retrieval (follow-up #966)
This commit is contained in:
Stéphane Graber
2026-01-10 12:47:06 -05:00
committed by GitHub

View File

@@ -89,7 +89,7 @@ func (s *centOS) Run() error {
checksumFile = "sha256sum.txt"
} else {
checksumFile = "sha256sum.txt.asc"
if strings.HasPrefix(s.definition.Image.Release, "9") {
if strings.HasPrefix(s.definition.Image.Release, "9") || strings.HasPrefix(s.definition.Image.Release, "10") {
checksumFile = "SHA256SUM"
} else if strings.HasPrefix(s.definition.Image.Release, "8") {
checksumFile = "CHECKSUM"