From 575ba4251526cc34162d36c0e3a0ba5be0c2a86c Mon Sep 17 00:00:00 2001 From: Fabiano Mercer Date: Tue, 20 Sep 2022 13:18:50 -0300 Subject: [PATCH] Debian: Do not install gpu-operator into ISO This change removes the gpu-operator helm chart from Debian ISO. The NVIDIA GPU Operator uses the operator framework within Kubernetes to automate the management of all NVIDIA software components needed to provision GPU. But if NVIDIA is not present in the nodes/controller this helm will never be used and should not be in the ISO image. The GPU Operator will continue to be built but not installed into the image. Test plan (Debian only) PASS build ISO and confirm that package was not installed Story: 2009968 Task: 46344 Signed-off-by: Fabiano Mercer Change-Id: I1068eebd694cc9395dbe197257707abe2ff36e0e --- gpu/gpu-operator/debian/deb_folder/gpu-operator.install | 1 - gpu/gpu-operator/debian/deb_folder/rules | 5 +---- 2 files changed, 1 insertion(+), 5 deletions(-) delete mode 100644 gpu/gpu-operator/debian/deb_folder/gpu-operator.install diff --git a/gpu/gpu-operator/debian/deb_folder/gpu-operator.install b/gpu/gpu-operator/debian/deb_folder/gpu-operator.install deleted file mode 100644 index 6fb208476..000000000 --- a/gpu/gpu-operator/debian/deb_folder/gpu-operator.install +++ /dev/null @@ -1 +0,0 @@ -opt/extracharts/gpu-operator-v3-1.8.1.tgz \ No newline at end of file diff --git a/gpu/gpu-operator/debian/deb_folder/rules b/gpu/gpu-operator/debian/deb_folder/rules index ea8fba3d2..3188e6749 100644 --- a/gpu/gpu-operator/debian/deb_folder/rules +++ b/gpu/gpu-operator/debian/deb_folder/rules @@ -17,7 +17,4 @@ override_dh_auto_build: helm package --version ${HELM_VER}-${PKG_VERSION} --app-version v${PKG_VERSION} -d build_results deployments/gpu-operator override_dh_auto_install: - # Install the app tar file. - install -d -m 755 ${DEBIAN_DESTDIR}/opt/extracharts - install -p -D -m 644 build_results/gpu-operator-${HELM_VER}-${PKG_VERSION}.tgz ${DEBIAN_DESTDIR}/opt/extracharts - dh_install + dh_install \ No newline at end of file