I need to compile and install my own bionic kernels to fix a typo in xhci-pci.c
I've done this successfully in the past, as late as 18.04 I think, following the instructions at:
https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel
But now when I try to install my new kernels (and test kernels from devs trying to help me run the fix up the flagpole) dpkg -i complains and it seems my changes aren't reflected on reboot. How do I fix this?
UPDATE: Installing the kernel I compiled on my desktop onto a different server seems to work. I speculate this is because the kernel version running on the server was a few minor revisions behind that running on the desktop. I think the minor revision number running on the desktop is the same I'm attempting to compile and install. Oppositely, the test kernel provided by the devs are some minor revisions behind that of my desktop and server. Whereas previously I placed the blame on "unsigned" packages, now I'm thinking the problem lies with dpkg. How do I force dpkg to install over "conflicting" packages? How do I force it to install a retrograde kernel?
The errors (on the desktop system) are as follows:
dpkg: regarding linux-image-unsigned-4.15.0-29-generic_4.15.0-29.31+jeff_amd64.deb containing linux-image-unsigned-4.15.0-29-generic:
linux-image-unsigned-4.15.0-29-generic conflicts with linux-image-4.15.0-29-generic
linux-image-4.15.0-29-generic (version 4.15.0-29.31) is present and installed.
dpkg: error processing archive linux-image-unsigned-4.15.0-29-generic_4.15.0-29.31+jeff_amd64.deb (--install):
conflicting packages - not installing linux-image-unsigned-4.15.0-29-generic
dpkg: regarding linux-image-unsigned-4.15.0-29-lowlatency_4.15.0-29.31+jeff_amd64.deb containing linux-image-unsigned-4.15.0-29-lowlatency:
linux-image-unsigned-4.15.0-29-lowlatency conflicts with linux-image-4.15.0-29-lowlatency
linux-image-4.15.0-29-lowlatency (version 4.15.0-29.31) is present and installed.
dpkg: error processing archive linux-image-unsigned-4.15.0-29-lowlatency_4.15.0-29.31+jeff_amd64.deb (--install):
conflicting packages - not installing linux-image-unsigned-4.15.0-29-lowlatency