Frogging-Family / nvidia-all

Nvidia driver latest to 396 series AIO installer
768 stars 69 forks source link

Adding a hook to automatically update initramfs images #63

Closed Cabopust closed 2 years ago

Cabopust commented 2 years ago

This PR adds a hook for automatically updating images via mkinitcpio -P. This also helps nvidia_drm to work correctly if the images for some reason were not updated manually after the upgrade.

References: https://wiki.archlinux.org/title/NVIDIA#Pacman_hook

Tk-Glitch commented 2 years ago

I liked to have it kinda involved and not offering the hook was an early decision. But yeah, time has passed. Let's do that. Thanks! :frog: :heart:

n3thshan commented 2 years ago

I installed the dkms package with open source kernel modules, what should i enter for "Target=" in the hook, should i just leave it at nvidia? could you also mention the procedure for proprietary dkms as well? Thanks in advance