a test result here for reference:
in my system there're 2 kernels 4.15.0-1030 and 4.15.0-1045
1. installed dkms from [1], which included the proposed patch.
2. install dkms from [2], which set OBSOLETE_BY="4.15.0-1033" , and set 'FORCE' already.
from the attached message during installation,
- for kernel 4.15.0-1030: line 4604 checked srcversion, but still install dkms because of 'FORCE' be set
- for kernel 4.15.0-1045: line 9419 checked obsolete value, then stop install dkms.
a test result here for reference:
in my system there're 2 kernels 4.15.0-1030 and 4.15.0-1045
1. installed dkms from [1], which included the proposed patch. BY="4.15. 0-1033" , and set 'FORCE' already.
2. install dkms from [2], which set OBSOLETE_
from the attached message during installation,
- for kernel 4.15.0-1030: line 4604 checked srcversion, but still install dkms because of 'FORCE' be set
- for kernel 4.15.0-1045: line 9419 checked obsolete value, then stop install dkms.
[1]:https:/ /code.launchpad .net/~alextu/ +recipe/ 2.3-3ubuntu9. 5-closes89 /code.launchpad .net/~alextu/ +recipe/ 2.3-3ubuntu9. 5-closes89- dkms
[2]:https:/