Skip to content

Commit

Permalink
core: kraken: add special case for 64bit kernel and 32bit userland fo…
Browse files Browse the repository at this point in the history
…r Pi5
  • Loading branch information
Williangalvani committed May 14, 2024
1 parent 720f110 commit abab0de
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/services/kraken/manifest/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ def from_machine() -> Optional["DockerPlatforms"]:
case "x86_64" | "amd64":
return DockerPlatforms.AMD64
case "aarch64" | "arm64":
# catch the case of 64 bit kernel with 32bit userland on Pi 5
if platform.architecture()[0] == "32bit":
return DockerPlatforms.ARM_V7
return DockerPlatforms.ARM64
case _:
return None
Expand Down

0 comments on commit abab0de

Please sign in to comment.