[21:14] <newb_question> I have an Ubuntu 22.04.1 system running kernel 6.5.0-26-generic. I want to experiment on a kernel module that's in-tree, so I install the kernel source with this command, taken straight from the Ubuntu wiki: apt source linux-image-unsigned-$(uname -r)
[21:14] <newb_question> Lots of stuff happens, everything seems to be good, I see reassuring stuff like "applying linux-hwe-6.5_6.5.0-26.26~22.04.1.diff.gz"
[21:14] <newb_question> But when I actually compile a module and do a "sudo make module_install", it keeps installing my new module into /usr/lib/modules/6.5.13 instead of 6.5.0-26-generic! What am I doing wrong?
[21:15] <newb_question> As a demonstration of what I'm seeing:
[21:15] <newb_question> user@kernel-compiler:~/experiment/linux-hwe-6.5-6.5.0$ uname -r
[21:15] <newb_question> 6.5.0-26-generic
[21:15] <newb_question> user@kernel-compiler:~/experiment/linux-hwe-6.5-6.5.0$ sudo make M=drivers/net/ethernet/intel/e1000/ modules_install
[21:15] <newb_question>   INSTALL /lib/modules/6.5.13/updates/e1000.ko