termux-packages/root-packages/containerd/database.go.patch

18 lines
602 B
Diff

diff --git a/data/data/me.sergiotarxz.openmg.x11/files/home/test/containerd-1.4.3/platforms/database.go b/platforms/database.go
index 6ede940..d010005 100644
--- a/data/data/me.sergiotarxz.openmg.x11/files/home/test/containerd-1.4.3/platforms/database.go
+++ b/platforms/database.go
@@ -25,7 +25,11 @@ import (
//
// The OS value should be normalized before calling this function.
func isLinuxOS(os string) bool {
- return os == "linux"
+ switch os {
+ case "linux", "android":
+ return true
+ }
+ return false
}
// These function are generated from https://golang.org/src/go/build/syslist.go.