From 799a3403eab2e28baed1e44063c1851d72215eee Mon Sep 17 00:00:00 2001 From: Noel Georgi Date: Thu, 1 Feb 2024 16:54:28 +0530 Subject: [PATCH] fix: set `DATABASE_PATH` for fabricmanager This fixes fabricmanager crashing. Signed-off-by: Noel Georgi --- nvidia-gpu/nvidia-fabricmanager/pkg.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/nvidia-gpu/nvidia-fabricmanager/pkg.yaml b/nvidia-gpu/nvidia-fabricmanager/pkg.yaml index 60699eaa..71e13952 100644 --- a/nvidia-gpu/nvidia-fabricmanager/pkg.yaml +++ b/nvidia-gpu/nvidia-fabricmanager/pkg.yaml @@ -43,6 +43,7 @@ steps: sed -i 's/DAEMONIZE=.*/DAEMONIZE=0/g' /rootfs/usr/local/share/nvidia/nvswitch/fabricmanager.cfg sed -i 's/STATE_FILE_NAME=.*/STATE_FILE_NAME=\/var\/run\/nvidia-fabricmanager\/fabricmanager.state/g' /rootfs/usr/local/share/nvidia/nvswitch/fabricmanager.cfg sed -i 's/TOPOLOGY_FILE_PATH=.*/TOPOLOGY_FILE_PATH=\/usr\/local\/share\/nvidia\/nvswitch/g' /rootfs/usr/local/share/nvidia/nvswitch/fabricmanager.cfg + sed -i 's/DATABASE_PATH=.*/DATABASE_PATH=\/usr\/local\/share\/nvidia\/nvswitch/g' /rootfs/usr/local/share/nvidia/nvswitch/fabricmanager.cfg finalize: - from: /rootfs to: /rootfs