From 2081750bea5be3f96605e810889a64dddb7174e2 Mon Sep 17 00:00:00 2001 From: Kevin Klues Date: Thu, 16 Feb 2023 13:09:47 +0000 Subject: [PATCH] Merge branch 'support-multimple-firmware-files' into 'main' Add globbing for mounting multiple GSP firmware files See merge request nvidia/container-toolkit/container-toolkit!295 --- cmd/nvidia-ctk/cdi/generate/driver.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/nvidia-ctk/cdi/generate/driver.go b/cmd/nvidia-ctk/cdi/generate/driver.go index 97f1506a..7e5600fc 100644 --- a/cmd/nvidia-ctk/cdi/generate/driver.go +++ b/cmd/nvidia-ctk/cdi/generate/driver.go @@ -87,7 +87,7 @@ func NewDriverLibraryDiscoverer(logger *logrus.Logger, driverRoot string, nvidia // NewDriverFirmwareDiscoverer creates a discoverer for GSP firmware associated with the specified driver version. func NewDriverFirmwareDiscoverer(logger *logrus.Logger, driverRoot string, version string) discover.Discover { - gspFirmwarePath := filepath.Join("/lib/firmware/nvidia", version, "gsp.bin") + gspFirmwarePath := filepath.Join("/lib/firmware/nvidia", version, "gsp*.bin") return discover.NewMounts( logger, lookup.NewFileLocator(