From 2f9bdb7a6642c8644bef8152c76340e4448b2e7c Mon Sep 17 00:00:00 2001 From: Jami Kettunen Date: Wed, 15 Mar 2023 00:01:55 +0200 Subject: [PATCH] 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 Link: https://lists.sr.ht/~postmarketos/pmbootstrap-devel/%3C167883228237.9452.6945199441942129608-0@git.sr.ht%3E --- pmb/parse/arch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pmb/parse/arch.py b/pmb/parse/arch.py index 6237a556..89bce31a 100644 --- a/pmb/parse/arch.py +++ b/pmb/parse/arch.py @@ -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): -- 2.45.2