Files
termux-packages/packages/flyctl/getcpuinfo.patch
termux-pacman-bot db918d7c92 bump(main/flyctl): 0.3.43
containerd/platforms module was added in the following commit.
a182cab984
2024-11-28 18:41:13 +00:00

12 lines
497 B
Diff

--- ./go/pkg/mod/github.com/containerd/platforms@v0.2.1/cpuinfo_other.go
+++ ./go/pkg/mod/github.com/containerd/platforms@v0.2.1/cpuinfo_other.go
@@ -29,7 +29,7 @@
var variant string
- if runtime.GOOS == "windows" || runtime.GOOS == "darwin" {
+ if runtime.GOOS == "windows" || runtime.GOOS == "darwin" || runtime.GOOS == "android" {
// Windows/Darwin only supports v7 for ARM32 and v8 for ARM64 and so we can use
// runtime.GOARCH to determine the variants
switch runtime.GOARCH {