diff --git a/build_files/shared/initramfs.sh b/build_files/shared/initramfs.sh index c9e4a53e3d2..f2897cb9280 100755 --- a/build_files/shared/initramfs.sh +++ b/build_files/shared/initramfs.sh @@ -2,15 +2,6 @@ set -oue pipefail -# Remove nvidia specific files -if [[ "${IMAGE_FLAVOR}" =~ "nvidia" || ${COREOS_TYPE} =~ "nvidia" ]]; then - rm -f /usr/lib/modprobe.d/nvk.conf - rm -f /usr/lib/modprobe.d/amd-legacy.conf -else - rm -f /usr/lib/dracut/dracut.conf.d/95-nvidia.conf - rm -f /usr/lib/modprobe.d/nvidia.conf -fi - if [[ "${AKMODS_FLAVOR}" == "surface" ]]; then KERNEL_SUFFIX="surface" else diff --git a/system_files/shared/usr/lib/dracut/dracut.conf.d/95-nvidia.conf b/system_files/shared/usr/lib/dracut/dracut.conf.d/95-nvidia.conf deleted file mode 100644 index 1d74ae57913..00000000000 --- a/system_files/shared/usr/lib/dracut/dracut.conf.d/95-nvidia.conf +++ /dev/null @@ -1 +0,0 @@ -force_drivers+=" nvidia nvidia_modeset nvidia_uvm nvidia_drm " diff --git a/system_files/shared/usr/lib/modprobe.d/nvidia.conf b/system_files/shared/usr/lib/modprobe.d/nvidia.conf deleted file mode 100644 index 2335d81a370..00000000000 --- a/system_files/shared/usr/lib/modprobe.d/nvidia.conf +++ /dev/null @@ -1,6 +0,0 @@ -# Blacklist Nouveau -blacklist nouveau -options nouveau modeset=0 - -# Enable Nvidia Modeset -options nvidia-drm modeset=1 diff --git a/system_files/shared/usr/lib/modprobe.d/nvk.conf b/system_files/shared/usr/lib/modprobe.d/nvk.conf deleted file mode 100644 index eea3f81798b..00000000000 --- a/system_files/shared/usr/lib/modprobe.d/nvk.conf +++ /dev/null @@ -1,2 +0,0 @@ -# Enable GSP firmware -options nouveau config=NvGspRm=1