18 lines
572 B
Diff
18 lines
572 B
Diff
|
diff --git a/data/data/com.termux/files/home/test/containerd-1.4.3/platforms/database.go b/platforms/database.go
|
||
|
index 6ede940..d010005 100644
|
||
|
--- a/data/data/com.termux/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.
|