Files
termux-packages/root-packages/runc/root-dir-path.patch
termux-pacman-bot 58d3220b5f bump(root/runc): 1.2.4
Signed-off-by: Aditya Alok <alok@termux.dev>
2025-01-21 15:04:12 +00:00

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() {
"