-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(trident): stop searching binaries in /host
Signed-off-by: Clément Nussbaumer <[email protected]>
- Loading branch information
1 parent
e8abb85
commit 426ce9c
Showing
2 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- trident/chwrap/chwrap.go.original 2024-10-25 07:59:25 | ||
+++ trident/chwrap/chwrap.go 2024-10-25 08:01:27 | ||
@@ -53,7 +53,7 @@ | ||
} | ||
|
||
func main() { | ||
- rootPath := "/host" | ||
+ rootPath := "/" // Oct. 24, Clément Nussbaumer: for talos we only consider binaries in the base image, not the host | ||
// First modify argv0 to strip off any absolute or relative paths | ||
argv := os.Args | ||
binary := argv[0] |