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

** Attachment added: "install-ath10k-closes89.log"
   
https://bugs.launchpad.net/oem-priority/+bug/1838921/+attachment/5280862/+files/install-ath10k-closes89.log

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to dkms in Ubuntu.
https://bugs.launchpad.net/bugs/1838921

Title:
  priority of OBSOLETE_BY should higher than "force"

Status in OEM Priority Project:
  New
Status in dkms package in Ubuntu:
  New

Bug description:
  [Impact]
  the priority of OBSOLETE_BY should higher than "force". #89 
https://github.com/dell/dkms/issues/89

  [Test case]
  1. install the dkms package which already patched (also can be found from my 
test ppa[1])
  2. install a DKMS which has OBSOLETE_BY and FORCE
  e.g.ath10k of my testing ppa : [2]
   - the target dkms defined OBSOLETE_BY and FORCE
   - user install dkms on a system which installed kernel version less than 
OBSOLETE_BY and another kernel higher than OBSOLETE_BY
   - the dkms can be installed well.

  [Regression potential]
  medium as it touched the version sanity. This change land a change from 
upstream.

  [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

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1838921/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to