This commit is contained in:
Ward Nakchbandi (Cosmic Fusion) 2023-09-02 19:27:04 +03:00 committed by GitHub
parent 5040fc4f4f
commit d09b0d9f9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 1 deletions

View File

@ -9,4 +9,7 @@ install:
fakeroot dkms build --verbose --dkmstree "${MK_WORKDIR}" -m nvidia/"${DRIVER}" -k "${KERNEL}"
install -Dt "$(DESTDIR)/usr/lib/modules/"${KERNEL}"/extramodules" -m644 nvidia/"${DRIVER}"/"${KERNEL}"/"${CARCH}"/module/*
find "$(DESTDIR)" -name '*.ko' -exec xz -T1 {} +
mkdir -p "$(DESTDIR)"/etc/modprobe.d/
install -D -m 644 blacklist-pika-nouveau.conf $(DESTDIR)/etc/modprobe.d/blacklist-pika-nouveau.conf
mkdir -p "$(DESTDIR)"/etc/modules-load.d/
install -D -m 644 pika-nvidia.conf $(DESTDIR)/etc/modules-load.d/pika-nvidia.conf

View File

@ -0,0 +1 @@
blacklist nouveau

View File

@ -0,0 +1,4 @@
nvidia-modeset
nvidia-uvm
nvidia-drm
nvidia-peermem