Merge ~vicamo/ubuntu/+source/backport-iwlwifi-dkms/+git/backport-iwlwifi-dkms:bug-1969434/respect-kernelsourcedir/jammy into ubuntu/+source/backport-iwlwifi-dkms:ubuntu/devel

Proposed by You-Sheng Yang
Status: Merged
Merge reported by: You-Sheng Yang
Merged at revision: aa90b1b443db54b89bc78f2382606b1c8df5d3c2
Proposed branch: ~vicamo/ubuntu/+source/backport-iwlwifi-dkms/+git/backport-iwlwifi-dkms:bug-1969434/respect-kernelsourcedir/jammy
Merge into: ubuntu/+source/backport-iwlwifi-dkms:ubuntu/devel
Diff against target: 25 lines (+7/-1)
2 files modified
debian/backport-iwlwifi-dkms.dkms.in (+1/-1)
debian/changelog (+6/-0)
Reviewer Review Type Date Requested Status
Dimitri John Ledkov (community) Approve
git-ubuntu import Pending
Review via email: mp+419698@code.launchpad.net

Commit message

* respect kernelsourcedir in dkms.conf (LP: #1969434)

Description of the change

In order to be compiled with dkms-build in kernel source package, the kernel header dir will not be /lib/modules/<version>/build but a temporary directory. This change specifies KLIB_BUILD from dkms variable ${kernel_source_dir}.

To post a comment you must log in.
Revision history for this message
Dimitri John Ledkov (xnox) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/debian/backport-iwlwifi-dkms.dkms.in b/debian/backport-iwlwifi-dkms.dkms.in
2index f65c78e..61ded49 100644
3--- a/debian/backport-iwlwifi-dkms.dkms.in
4+++ b/debian/backport-iwlwifi-dkms.dkms.in
5@@ -38,5 +38,5 @@ num_cpu_cores()
6 fi
7 }
8
9-MAKE="'make' -j$(num_cpu_cores) KLIB=/lib/modules/$kernelver"
10+MAKE="'make' -j$(num_cpu_cores) KLIB=/lib/modules/$kernelver KLIB_BUILD=${kernel_source_dir}"
11 CLEAN="'make' clean"
12diff --git a/debian/changelog b/debian/changelog
13index cac8ec4..fd5270c 100644
14--- a/debian/changelog
15+++ b/debian/changelog
16@@ -1,3 +1,9 @@
17+backport-iwlwifi-dkms (9858-0ubuntu3) jammy; urgency=medium
18+
19+ * respect kernelsourcedir in dkms.conf (LP: #1969434)
20+
21+ -- You-Sheng Yang <vicamo@gmail.com> Tue, 19 Apr 2022 17:20:09 +0800
22+
23 backport-iwlwifi-dkms (9858-0ubuntu2) jammy; urgency=medium
24
25 * Bump OBSOLETE_BY to v5.19, as this version of the module is suitable

Subscribers

People subscribed via source and target branches