mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2025-12-24 20:50:47 +00:00
26 lines
801 B
Diff
26 lines
801 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":
|
|
|
|
--- runc-1.2.4/main.go 2025-01-07 04:50:22.000000000 +0530
|
|
+++ runc-1.2.4.mod/main.go 2025-01-17 02:30:00.522004934 +0530
|
|
@@ -73,7 +73,7 @@
|
|
}
|
|
app.Version = strings.Join(v, "\n")
|
|
|
|
- root := "/run/runc"
|
|
+ root := "@TERMUX_PREFIX@/tmp/runc"
|
|
xdgDirUsed := false
|
|
xdgRuntimeDir := os.Getenv("XDG_RUNTIME_DIR")
|
|
if xdgRuntimeDir != "" && shouldHonorXDGRuntimeDir() {
|
|
"
|