commit 82057e66ead7eab8dc8e257dca2df38fe12aa71e
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Fri Feb 2 13:30:52 2018 +0000
Fix omitting drivers from the initrd.
99-nvidia-dracut.conf | 6 +++---
xorg-x11-drv-nvidia.spec | 7 +++++--
2 files changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/99-nvidia-dracut.conf b/99-nvidia-dracut.conf
index 68b6e93..e5b4fdb 100644
--- a/99-nvidia-dracut.conf
+++ b/99-nvidia-dracut.conf
@@ -1,3 +1,3 @@
-# omit the nvidia driver from the ramdisk, to avoid needing to regenerate
-# the ramdisk on nvidia driver updates
-omit_drivers+=" nvidia-drm "
+# Omit the nvidia driver from the ramdisk, to avoid needing to regenerate
+# the ramdisk on updates.
+omit_drivers+=" nvidia nvidia-drm nvidia-modeset nvidia-uvm "
diff --git a/xorg-x11-drv-nvidia.spec b/xorg-x11-drv-nvidia.spec
index 3b91cf8..c776c67 100644
--- a/xorg-x11-drv-nvidia.spec
+++ b/xorg-x11-drv-nvidia.spec
@@ -16,7 +16,7 @@
%global _dracut_conf_d %{_sysconfdir}/dracut.conf.d
%global _grubby /sbin/grubby --grub --update-kernel=ALL
%else #rhel > 6 or fedora
-%global _dracut_conf_d %{_prefix}/lib/dracut.conf.d
+%global _dracut_conf_d %{_prefix}/lib/dracut/dracut.conf.d
%global _modprobe_d %{_prefix}/lib/modprobe.d/
%global _grubby %{_sbindir}/grubby --update-kernel=ALL
%if 0%{?rhel} == 7
@@ -37,7 +37,7 @@
Name: xorg-x11-drv-nvidia
Epoch: 2
Version: 390.25
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: NVIDIA's proprietary display driver for NVIDIA graphic cards
License: Redistributable, no modification permitted
@@ -581,6 +581,9 @@ fi ||:
%{_libdir}/libnvidia-encode.so
%changelog
+* Fri Feb 02 2018 Leigh Scott <leigh123linux(a)googlemail.com> - 2:390.25-2
+- Fix omitting drivers from the initrd.
+
* Mon Jan 29 2018 Leigh Scott <leigh123linux(a)googlemail.com> - 2:390.25-1
- Update to 390.25 release