termux-packages/root-packages/runc/main.go.patch

13 lines
498 B
Diff
Raw Normal View History

2019-07-14 14:32:35 +02:00
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"