pmb.parse.arch: add armv8l -> armv7 mapping (MR 2259)

Supposedly this is the architecture reported by userspace when running
in 32-bit mode on aarch64.

Closes https://gitlab.com/postmarketOS/pmbootstrap/-/issues/2311
This commit is contained in:
Newbyte 2024-02-14 20:06:27 +01:00 committed by Pablo Correa Gómez
parent 6ba138b6b2
commit e6b6b73c0d
No known key found for this signature in database
GPG key ID: 7A342565FF635F79

View file

@ -15,6 +15,7 @@ def alpine_native():
"arm64": "aarch64",
"armv6l": "armhf",
"armv7l": "armv7",
"armv8l": "armv7",
}
if machine in mapping:
return mapping[machine]