25 lines
896 B
Diff
25 lines
896 B
Diff
|
diff -uNr runc-1.0.0-rc91/list.go runc-1.0.0-rc91.mod/list.go
|
||
|
--- runc-1.0.0-rc91/list.go 2020-06-30 18:24:30.000000000 +0300
|
||
|
+++ runc-1.0.0-rc91.mod/list.go 2020-07-19 16:40:06.617429259 +0300
|
||
|
@@ -51,7 +51,7 @@
|
||
|
ArgsUsage: `
|
||
|
|
||
|
Where the given root is specified via the global option "--root"
|
||
|
-(default: "/run/runc").
|
||
|
+(default: "@TERMUX_PREFIX@/tmp/runc").
|
||
|
|
||
|
EXAMPLE 1:
|
||
|
To list containers created via the default "--root":
|
||
|
diff -uNr runc-1.0.0-rc91/main.go runc-1.0.0-rc91.mod/main.go
|
||
|
--- runc-1.0.0-rc91/main.go 2020-06-30 18:24:30.000000000 +0300
|
||
|
+++ runc-1.0.0-rc91.mod/main.go 2020-07-19 16:39:37.309287649 +0300
|
||
|
@@ -65,7 +65,7 @@
|
||
|
app.Version = strings.Join(v, "\n")
|
||
|
|
||
|
xdgRuntimeDir := ""
|
||
|
- root := "/run/runc"
|
||
|
+ root := "@TERMUX_PREFIX@/tmp/runc"
|
||
|
if shouldHonorXDGRuntimeDir() {
|
||
|
if runtimeDir := os.Getenv("XDG_RUNTIME_DIR"); runtimeDir != "" {
|
||
|
root = runtimeDir + "/runc"
|