There was an error while loading. Please reload this page.
1 parent 3cb9acd commit 7e32d54Copy full SHA for 7e32d54
1 file changed
build_files/base/20-tests.sh
@@ -57,6 +57,18 @@ for package in "${UNWANTED_PACKAGES[@]}"; do
57
echo "Unwanted package found: ${package}... Exiting"; exit 1
58
fi
59
done
60
+
61
+if [[ "${IMAGE_NAME}" =~ nvidia ]]; then
62
+ NV_PACKAGES=(
63
+ libnvidia-container-tools
64
+ kmod-nvidia
65
+ nvidia-driver-cuda
66
+ )
67
+ for package in "${NV_PACKAGES[@]}"; do
68
+ rpm -q "${package}" >/dev/null || { echo "Missing NVIDIA package: ${package}... Exiting"; exit 1 ; }
69
+ done
70
+fi
71
72
IMPORTANT_UNITS=(
73
brew-update.timer
74
brew-upgrade.timer
0 commit comments