Skip to content

Commit 5314556

Browse files
core: kraken: add special case for 64bit kernel and 32bit userland for Pi5
1 parent 647cf66 commit 5314556

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

core/services/kraken/manifest/models.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ def from_machine() -> Optional["DockerPlatforms"]:
3333
case "x86_64" | "amd64":
3434
return DockerPlatforms.AMD64
3535
case "aarch64" | "arm64":
36+
# catch the case of 64 bit kernel with 32bit userland on Pi 5
37+
if platform.architecture()[0] == "32bit":
38+
return DockerPlatforms.ARM_V7
3639
return DockerPlatforms.ARM64
3740
case _:
3841
return None

0 commit comments

Comments
 (0)