0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-04 18:45:52 +00:00
termux-packages/packages/flyctl/getcpuinfo.patch
Biswapriyo Nath 79669458db bump(main/flyctl): 0.3.43
containerd/platforms module was added in the following commit.
a182cab984
2024-11-28 23:59:55 +05:30

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 {