Skip to content

Commit b6a3f0c

Browse files
committed
sle15: nvidia-installer - include drm, supress attempt to load modules
The DRM module is now required for the driver to function properly. Loading modules here will preempt the explicit module load later. Signed-off-by: Egbert Eich <[email protected]>
1 parent ef138dc commit b6a3f0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sle15/nvidia-driver

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ _install_driver() {
354354
if [ "${ACCEPT_LICENSE}" = "yes" ]; then
355355
install_args+=("--accept-license")
356356
fi
357-
IGNORE_CC_MISMATCH=1 nvidia-installer --kernel-module-only --no-drm --ui=none --no-nouveau-check -m=${KERNEL_TYPE} --no-rebuild-initramfs ${install_args[@]+"${install_args[@]}"}
357+
IGNORE_CC_MISMATCH=1 nvidia-installer --kernel-module-only --ui=none --no-nouveau-check -m=${KERNEL_TYPE} --no-rebuild-initramfs ${install_args[@]+"${install_args[@]}"} --skip-module-load # --no-drm
358358
}
359359

360360
# Mount the driver rootfs into the run directory with the exception of sysfs.

0 commit comments

Comments
 (0)