From 1ab3ef0af4840ab3ddbb1db5658515f0546ed8a0 Mon Sep 17 00:00:00 2001 From: Evan Lezar Date: Wed, 22 Nov 2023 19:50:03 +0100 Subject: [PATCH] Locate libnvidia-egl-gbm.so.* Searching for a pattern allows platforms where no `.so` symlink exists to function as expected. Signed-off-by: Evan Lezar --- internal/discover/graphics.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/discover/graphics.go b/internal/discover/graphics.go index 4e0c47b9..73bedb2b 100644 --- a/internal/discover/graphics.go +++ b/internal/discover/graphics.go @@ -55,7 +55,7 @@ func NewGraphicsMountsDiscoverer(logger logger.Interface, driver *root.Driver, n driver.Libraries(), driver.Root, []string{ - "libnvidia-egl-gbm.so", + "libnvidia-egl-gbm.so.*", }, )