talos-extensions/nvidia-gpu/nvidia-container-toolkit/nvidia-container-runtime/patches/ldcache_path.patch
Noel Georgi d4d42e52d9
feat: use wolfi as base for nvidia
Use wolfi base as toolchain for NVIDIA build.
This removes a lot of hacks and patches we maintain.

Fixes: #171
Fixes: https://github.com/siderolabs/pkgs/issues/720

Signed-off-by: Noel Georgi <git@frezbo.dev>
2023-08-02 21:36:00 +05:30

14 lines
364 B
Diff

diff --git internal/ldcache/ldcache.go internal/ldcache/ldcache.go
index 5493dc3..9c86e41 100644
--- internal/ldcache/ldcache.go
+++ internal/ldcache/ldcache.go
@@ -32,7 +32,7 @@ import (
log "github.com/sirupsen/logrus"
)
-const ldcachePath = "/etc/ld.so.cache"
+const ldcachePath = "/usr/local/glibc/etc/ld.so.cache"
const (
magicString1 = "ld.so-1.7.0"