Skip to content

Commit e3fe5b3

Browse files
authored
Merge pull request #849 from nathanchance/fix-alpine-get_cbl_name
utils.py: Update get_cbl_name() for new Alpine configuration scheme
2 parents 74e70b8 + b04e386 commit e3fe5b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ def get_cbl_name():
8080
"riscv64": "riscv",
8181
"x86_64": "x86_64"
8282
}
83-
# The URL is https://.../config-edge.<arch>
84-
alpine_arch = base_config.split(".")[-1]
83+
# The URL is https://.../stable.<arch>.config
84+
alpine_arch = base_config.split(".")[1]
8585
return alpine_to_cbl[alpine_arch]
8686
if "fedora" in base_config:
8787
fedora_to_cbl = {

0 commit comments

Comments
 (0)