Skip to content

Commit

Permalink
fix: remove conflicting nvidia initramfs files
Browse files Browse the repository at this point in the history
  • Loading branch information
m2Giles committed Jun 28, 2024
1 parent 572c841 commit d0369d0
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 14 deletions.
6 changes: 1 addition & 5 deletions build_files/shared/initramfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,8 @@
set -oue pipefail

# Remove nvidia specific files
if [[ "${IMAGE_FLAVOR}" =~ "nvidia" || ${COREOS_TYPE} =~ "nvidia" ]]; then
rm -f /usr/lib/modprobe.d/nvk.conf
if [[ "${IMAGE_FLAVOR}" =~ "nvidia" || "${COREOS_TYPE}" =~ "nvidia" ]]; then
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
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 d0369d0

Please sign in to comment.