diff --git a/nvidia-pikaos-kernel-module/Makefiletmp b/nvidia-pikaos-kernel-module/Makefiletmp index b4e233a..d27f889 100644 --- a/nvidia-pikaos-kernel-module/Makefiletmp +++ b/nvidia-pikaos-kernel-module/Makefiletmp @@ -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 {} + - \ No newline at end of file + 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 \ No newline at end of file diff --git a/nvidia-pikaos-kernel-module/blacklist-pika-nouveau.conf b/nvidia-pikaos-kernel-module/blacklist-pika-nouveau.conf new file mode 100644 index 0000000..31075c0 --- /dev/null +++ b/nvidia-pikaos-kernel-module/blacklist-pika-nouveau.conf @@ -0,0 +1 @@ +blacklist nouveau diff --git a/nvidia-pikaos-kernel-module/pika-nvidia.conf b/nvidia-pikaos-kernel-module/pika-nvidia.conf new file mode 100644 index 0000000..f607db4 --- /dev/null +++ b/nvidia-pikaos-kernel-module/pika-nvidia.conf @@ -0,0 +1,4 @@ +nvidia-modeset +nvidia-uvm +nvidia-drm +nvidia-peermem