pmb.parse.arch: Include comma after last dictionary items

See https://lists.sr.ht/~postmarketos/pmbootstrap-devel/patches/39643#feedback-272128:1018-1194

Reviewed-by: Oliver Smith <ollieparanoid@postmarketos.org>
Link: https://lists.sr.ht/~postmarketos/pmbootstrap-devel/%3C167883228237.9452.6945199441942129608-0@git.sr.ht%3E
This commit is contained in:
Jami Kettunen 2023-03-15 00:01:55 +02:00 committed by Oliver Smith
parent 0230f4def2
commit 2f9bdb7a66
No known key found for this signature in database
GPG Key ID: 5AE7F5513E0885CB
1 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ def alpine_native():
"aarch64": "aarch64",
"arm64": "aarch64",
"armv6l": "armhf",
"armv7l": "armv7"
"armv7l": "armv7",
}
if machine in mapping:
return mapping[machine]
@ -65,7 +65,7 @@ def alpine_to_kernel(arch):
"arm*": "arm",
"ppc*": "powerpc",
"s390*": "s390",
"riscv64*": "riscv"
"riscv64*": "riscv",
}
for pattern, arch_kernel in mapping.items():
if fnmatch.fnmatch(arch, pattern):