Comment 1 for bug 1838921

Revision history for this message
Alex Tu (alextu) wrote : Re: priority of OBSOLETE_BY should higher than "force"

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.

[1]:https://code.launchpad.net/~alextu/+recipe/2.3-3ubuntu9.5-closes89
[2]:https://code.launchpad.net/~alextu/+recipe/2.3-3ubuntu9.5-closes89-dkms