Add new feature BUILD_EXCLUSIVE_CONFIG to jammy as well
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dkms (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
Undecided
|
Unassigned | ||
Kinetic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[SRU Justification]
Impact:
Some dkms modules (like evdi-dkms) have this rule BUILD_EXCLUSIVE
This feature was released for kinetic but not for jammy.
This backports the patch to jammy as well.
[racb] This feature is required as the simplest way to deal with some of the HWE DKMS fixes needed in Jammy such as in bug 2012412.
Fix:
Backported BUILD_EXCLUSIVE
In order to be applied, I had to slightly modify the first junk. Other than that, it was a clean backport.
[Testcase]
$ sudo apt install linux-image-kvm linux-headers-kvm
$ sudo apt install evdi-dkms
Before the fix, it will fail with this error:
DKMS make.log for evdi-1.12.0+dfsg for kernel 5.15.0-1029-kvm (x86_64)
Thu Mar 23 10:10:14 UTC 2023
make: Entering directory '/usr/src/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
/var/lib/
/var/lib/
49 | return i2c_add_
| ^~~~~~~~~~~~~~~
| i2c_verify_adapter
/var/lib/
/var/lib/
54 | i2c_del_
| ^~~~~~~~~~~~~~~
| i2c_verify_adapter
cc1: some warnings being treated as errors
make[1]: *** [scripts/
make: *** [Makefile:1906: /var/lib/
make: Leaving directory '/usr/src/
This fails because CONFIG_I2C=n for a KVM kernel derivative.
Even though evdi has this build rule: BUILD_EXCLUSIVE
After the fix, it will not build:
Building initial module for 5.15.0-1029-kvm
Error! The /var/lib/
The /var/lib/
This indicates that it should not be built.
Skipped.
[Regression potential]
Very low, this is just a simple feature to prevent building a module.
Changed in dkms (Ubuntu): | |
status: | New → Fix Released |
Changed in dkms (Ubuntu Kinetic): | |
status: | New → Fix Released |
description: | updated |
The attachment "dkms.patch" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]