I am trying to build a third-party kernel module, onload. I am on Clear Linux 29440 (kernel 5.0). Unfortunately, the build fails, and I believe the reason for failure is that the module only supports up to kernel 4.19 (the latest LTS version), per the module release notes.
What is the best way to deal with this situation? Possible options might include:
(1) Rollback to the latest OS version using the 4.19 kernel (Clear Linux 27180, I think) and turn off swupd autoupdates. Would this command work: swupd verify --fix --picky -m ? (https://github.com/clearlinux/swupd-client/issues/456)
(2) Use the latest Clear Linux OS version, but force it to use the latest LTS kernel. Is this even possible?