runc: fix path to runtime directory
This commit is contained in:
parent
6d2be8e324
commit
6913bb9888
|
@ -0,0 +1,12 @@
|
||||||
|
diff -uNr runc-1.0.0-rc8/main.go runc-1.0.0-rc8.mod/main.go
|
||||||
|
--- runc-1.0.0-rc8/main.go 2019-04-25 00:48:25.000000000 +0300
|
||||||
|
+++ runc-1.0.0-rc8.mod/main.go 2019-07-14 15:25:25.741022025 +0300
|
||||||
|
@@ -62,7 +62,7 @@
|
||||||
|
v = append(v, fmt.Sprintf("spec: %s", specs.Version))
|
||||||
|
app.Version = strings.Join(v, "\n")
|
||||||
|
|
||||||
|
- root := "/run/runc"
|
||||||
|
+ root := "@TERMUX_PREFIX@/tmp/runc"
|
||||||
|
if shouldHonorXDGRuntimeDir() {
|
||||||
|
if runtimeDir := os.Getenv("XDG_RUNTIME_DIR"); runtimeDir != "" {
|
||||||
|
root = runtimeDir + "/runc"
|
Loading…
Reference in New Issue