Module it87

I was having the worst time since upgrading to Ubuntu 24.04 with trying to install the it87 module for my motherboard. I was getting the error message:

Skipping BTF generation for /home/jpartain89/git/it87/it87.ko due to unavailability of vmlinux

And for the life of me, I was unable to figure out where vmlinux had disappeared to or how to get it back again!

Then, I stumbled upon Proxmoxs Forum Post about a similar issue, that said to:

sudo apt install dwarves
sudo apt install build-essential dkms
cp /sys/kernel/btf/vmlinux /usr/src/linux-headers-$(uname -r)/build

And that was it! I was able to install the module without any issues after that.