Automatic regeneration of /var/run/cdi/nvidia.yaml
New units:
• nvidia-cdi-refresh.service – one-shot wrapper for
nvidia-ctk cdi generate (adds sleep + required caps).
• nvidia-cdi-refresh.path – fires on driver install/upgrade via
modules.dep.bin changes.
Packaging
• RPM %post reloads systemd and enables the path unit on fresh
installs.
• DEB postinst does the same (configure, skip on upgrade).
Result: CDI spec is always up to date
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
This change includes an arm64 arch check when installing golang.
Signed-off-by: Tariq Ibrahim <tibrahim@nvidia.com>
Signed-off-by: Evan Lezar <elezar@nvidia.com>
Since the default configuration is now platform specific,
there is no need to install specific versions as part of
the package installation.
Signed-off-by: Evan Lezar <elezar@nvidia.com>
This change splits the nvidia-container-toolkit package into the top-level package and
an nvidia-container-toolkit-base package.
The nvidia-container-toolkit-base package allows the NVIDIA Container Runtime and
NVIDIA Container Toolkit CLI to be installed on systems without requiring that the
NVIDIA Container Runtine Hook and the transitive dependencies included in the NVIDIA
Container Library and NVIDIA Container CLI also be installed.
This allows the runtime to be used on systems where the CSV or CDI mode of the runtime
is used exclusively.
Signed-off-by: Evan Lezar <elezar@nvidia.com>
This change ensures that at least the same libnvidia-container-tools
version is required when installing nvidia-container-toolkit.
Signed-off-by: Evan Lezar <elezar@nvidia.com>