Skip to content

Commit

Permalink
fix: remove conflicting nvidia initramfs files (#1458)
Browse files Browse the repository at this point in the history
  • Loading branch information
m2Giles authored Jun 28, 2024
1 parent 572c841 commit 97c56f2
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 18 deletions.
9 changes: 0 additions & 9 deletions build_files/shared/initramfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

This file was deleted.

6 changes: 0 additions & 6 deletions system_files/shared/usr/lib/modprobe.d/nvidia.conf

This file was deleted.

2 changes: 0 additions & 2 deletions system_files/shared/usr/lib/modprobe.d/nvk.conf

This file was deleted.

0 comments on commit 97c56f2

Please sign in to comment.