We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8f06fe commit 1ae5273Copy full SHA for 1ae5273
src/architecture.py
@@ -51,8 +51,10 @@ def is_wrong_architecture() -> bool:
51
manifest_archs.extend(base_archs)
52
53
hardware_arch = platform.machine()
54
- if ("amd64" in manifest_archs and hardware_arch == "x86_64") or (
55
- "arm64" in manifest_archs and hardware_arch == "aarch64"
+ if (
+ ("amd64" in manifest_archs and hardware_arch == "x86_64")
56
+ or ("arm64" in manifest_archs and hardware_arch == "aarch64")
57
+ or ("s390x" in manifest_archs and hardware_arch == "s390x")
58
):
59
logger.debug("Charm architecture matches")
60
return False
0 commit comments