I verified the 2.6.1-4ubuntu2.2 dkms in VM by multipass snap with changed dkms [1], it works as expected.
system has linux-image-5.0.0-20-generic and linux-image-5.0.0-21-generic be installed.
With OBSOLETE_BY="5.0.0-21" , then the DKMS will only be installed for kernel 5.0.0-20.
With OBSOLETE_BY="5.0.0-20" , then the DKMS not be installed for both kernel.
I verified the 2.6.1-4ubuntu2.2 dkms in VM by multipass snap with changed dkms [1], it works as expected.
system has linux-image- 5.0.0-20- generic and linux-image- 5.0.0-21- generic be installed. BY="5.0. 0-21" , then the DKMS will only be installed for kernel 5.0.0-20. BY="5.0. 0-20" , then the DKMS not be installed for both kernel.
With OBSOLETE_
With OBSOLETE_
[1] https:/ /code.launchpad .net/~alextu/ +git/acpi- call-dkms- test-obsolete