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
diff --git a/debian/backport-iwlwifi-dkms.dkms.in b/debian/backport-iwlwifi-dkms.dkms.in
index f65c78e..61ded49 100644
--- a/debian/backport-iwlwifi-dkms.dkms.in
+++ b/debian/backport-iwlwifi-dkms.dkms.in
@@ -38,5 +38,5 @@ num_cpu_cores()
38 fi38 fi
39}39}
4040
41MAKE="'make' -j$(num_cpu_cores) KLIB=/lib/modules/$kernelver"41MAKE="'make' -j$(num_cpu_cores) KLIB=/lib/modules/$kernelver KLIB_BUILD=${kernel_source_dir}"
42CLEAN="'make' clean"42CLEAN="'make' clean"
diff --git a/debian/changelog b/debian/changelog
index cac8ec4..fd5270c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
1backport-iwlwifi-dkms (9858-0ubuntu3) jammy; urgency=medium
2
3 * respect kernelsourcedir in dkms.conf (LP: #1969434)
4
5 -- You-Sheng Yang <vicamo@gmail.com> Tue, 19 Apr 2022 17:20:09 +0800
6
1backport-iwlwifi-dkms (9858-0ubuntu2) jammy; urgency=medium7backport-iwlwifi-dkms (9858-0ubuntu2) jammy; urgency=medium
28
3 * Bump OBSOLETE_BY to v5.19, as this version of the module is suitable9 * Bump OBSOLETE_BY to v5.19, as this version of the module is suitable

Subscribers

People subscribed via source and target branches