Skip to content

Commit

Permalink
fix: set DATABASE_PATH for fabricmanager
Browse files Browse the repository at this point in the history
This fixes fabricmanager crashing.

Signed-off-by: Noel Georgi <[email protected]>
(cherry picked from commit 799a340)
  • Loading branch information
frezbo committed Feb 1, 2024
1 parent 8784d16 commit 81b37ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nvidia-gpu/nvidia-fabricmanager/pkg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 81b37ad

Please sign in to comment.