mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-29 17:47:14 +02:00
fix get_systype() on raspbian (#4784)
fix get_systype on raspbian fixes #4777
This commit is contained in:
committed by
GitHub
parent
7ab27ddf9d
commit
0b3c0144e6
@ -143,6 +143,8 @@ def get_systype():
|
||||
arch = "x86_" + platform.architecture()[0]
|
||||
if "x86" in arch:
|
||||
arch = "amd64" if "64" in arch else "x86"
|
||||
if arch == "aarch64" and platform.architecture()[0] == "32bit":
|
||||
arch = "armv7l"
|
||||
return "%s_%s" % (system, arch) if arch else system
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user