From 760cf93317e0e40ef494eeec0f3f64c262e0efed Mon Sep 17 00:00:00 2001 From: Evan Lezar Date: Mon, 8 Jan 2024 16:00:19 +0100 Subject: [PATCH] Remove libseccomp package dependency Signed-off-by: Evan Lezar --- CHANGELOG.md | 1 + packaging/debian/control | 2 +- packaging/rpm/SPECS/nvidia-container-toolkit.spec | 7 ------- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0075620d..f7fc7a35 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ * Extend the `runtime.nvidia.com/gpu` CDI kind to support full-GPUs and MIG devices specified by index or UUID. * Fix bug when specifying `--dev-root` for Tegra-based systems. * Log explicitly requested runtime mode. +* Remove package dependency on libseccomp. ## v1.15.0-rc.1 * Skip update of ldcache in containers without ldconfig. The .so.SONAME symlinks are still created. diff --git a/packaging/debian/control b/packaging/debian/control index c43cbcbd..01abcea4 100644 --- a/packaging/debian/control +++ b/packaging/debian/control @@ -10,7 +10,7 @@ Build-Depends: debhelper (>= 9) Package: nvidia-container-toolkit Architecture: any -Depends: ${misc:Depends}, nvidia-container-toolkit-base (= @VERSION@), libnvidia-container-tools (>= @LIBNVIDIA_CONTAINER_TOOLS_VERSION@), libnvidia-container-tools (<< 2.0.0), libseccomp2 +Depends: ${misc:Depends}, nvidia-container-toolkit-base (= @VERSION@), libnvidia-container-tools (>= @LIBNVIDIA_CONTAINER_TOOLS_VERSION@), libnvidia-container-tools (<< 2.0.0) Breaks: nvidia-container-runtime (<= 3.5.0-1), nvidia-container-runtime-hook Replaces: nvidia-container-runtime (<= 3.5.0-1), nvidia-container-runtime-hook Description: NVIDIA Container toolkit diff --git a/packaging/rpm/SPECS/nvidia-container-toolkit.spec b/packaging/rpm/SPECS/nvidia-container-toolkit.spec index a3613537..79ef91b2 100644 --- a/packaging/rpm/SPECS/nvidia-container-toolkit.spec +++ b/packaging/rpm/SPECS/nvidia-container-toolkit.spec @@ -23,13 +23,6 @@ Provides: nvidia-container-runtime-hook Requires: libnvidia-container-tools >= %{libnvidia_container_tools_version}, libnvidia-container-tools < 2.0.0 Requires: nvidia-container-toolkit-base == %{version}-%{release} -%if 0%{?suse_version} -Requires: libseccomp2 -Requires: libapparmor1 -%else -Requires: libseccomp -%endif - %description Provides tools and utilities to enable GPU support in containers.