From 9286742abd5a3b6155e716ecf00f66b59fcc4b5e Mon Sep 17 00:00:00 2001
From: Christopher Desiniotis <cdesiniotis@nvidia.com>
Date: Wed, 28 May 2025 16:30:53 -0700
Subject: [PATCH] Remove unused jq package in rhel8 and rhel9 images

The jq package was added in https://github.com/NVIDIA/gpu-driver-container/commit/926a283047e0b03da8a5384ac307aa64e046e41a. The code that invoked jq was subsequently removed in https://github.com/NVIDIA/gpu-driver-container/commit/c9a6afcd4b473a1978c8eeb0f9292d375a0e2154.

Signed-off-by: Christopher Desiniotis <cdesiniotis@nvidia.com>
---
 rhel8/install.sh | 9 +++------
 rhel9/install.sh | 9 +++------
 2 files changed, 6 insertions(+), 12 deletions(-)

diff --git a/rhel8/install.sh b/rhel8/install.sh
index a979ce4..28c088e 100755
--- a/rhel8/install.sh
+++ b/rhel8/install.sh
@@ -14,8 +14,7 @@ dep_installer () {
         glibc.i686 \
         make \
         cpio \
-        kmod \
-        jq
+        kmod
   elif [ "$DRIVER_ARCH" = "ppc64le" ]; then
     dnf install -y \
         libglvnd-glx \
@@ -25,8 +24,7 @@ dep_installer () {
         glibc \
         make \
         cpio \
-        kmod \
-        jq
+        kmod
   elif [ "$DRIVER_ARCH" = "aarch64" ]; then
     dnf install -y \
         libglvnd-glx \
@@ -36,8 +34,7 @@ dep_installer () {
         glibc \
         make \
         cpio \
-        kmod \
-        jq
+        kmod
   fi
   rm -rf /var/cache/yum/*
 }
diff --git a/rhel9/install.sh b/rhel9/install.sh
index 2c609c5..819a0c6 100755
--- a/rhel9/install.sh
+++ b/rhel9/install.sh
@@ -16,8 +16,7 @@ dep_installer () {
         glibc.i686 \
         make \
         cpio \
-        kmod \
-        jq
+        kmod
   elif [ "$DRIVER_ARCH" = "ppc64le" ]; then
     dnf install -y \
         libglvnd-glx \
@@ -27,8 +26,7 @@ dep_installer () {
         glibc \
         make \
         cpio \
-        kmod \
-        jq
+        kmod
   elif [ "$DRIVER_ARCH" = "aarch64" ]; then
     dnf install -y \
         libglvnd-glx \
@@ -38,8 +36,7 @@ dep_installer () {
         glibc \
         make \
         cpio \
-        kmod \
-        jq
+        kmod
   fi
   rm -rf /var/cache/yum/*
 }
-- 
GitLab