Files
packages/anda/system/nvidia/nvidia-container-toolkit
Gil 6a2e4ca667 chore(nvidia-container-toolkit): cleanup (#3182)
* Fix: nvidia-container-toolkit

Changes:
- Dropped rootless Docker from the post script because Fedora's Docker (`moby-engine`) doesn't support this the same way
- Added postun scriptlet
- Cleaned up scriptlet using `try-restart` which should not fail if there is no service to restart
  - This is how Fedora seems to do `systemctl` scriptlets
- Added `/etc/cdi/nvidia.yaml` to tracked (but ghost) config files
- Added `nvidia-driver and podman` supplements flag

Signed-off-by: Gil <rockgrub@disroot.org>

* Change: Post and postun deps

Signed-off-by: Gil <rockgrub@disroot.org>

---------

Signed-off-by: Gil <rockgrub@disroot.org>
2025-02-03 15:54:42 +08:00
..
2025-01-15 15:43:27 +07:00