]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Use /lib/modules/`uname -r`/source as the default kernel source
authorRuss Allbery <rra@debian.org>
Sat, 25 Sep 2010 00:11:52 +0000 (17:11 -0700)
committerRuss Allbery <rra@debian.org>
Sat, 25 Sep 2010 00:11:52 +0000 (17:11 -0700)
* In openafs-modules-source, use /lib/modules/`uname -r`/source as the
  default path to the kernel headers rather than /usr/src/linux.
  Current kernel header packages will create an appropriate symlink
  there.  This default is only used when neither module-assistant nor
  kernel-package are used.

debian/changelog
debian/module/rules

index 37a0d3f5756d3f9d5ae4aa4b285ccc63ed824f6d..a9e745dec071fb4529601338ebcd5519b9e5e0f3 100644 (file)
@@ -7,6 +7,11 @@ openafs (1.5.77-2) UNRELEASED; urgency=low
     - [e36b4e00] Update bos create man page for new demand-attach
   * Add backslashes to the DKMS command, which will be required once DKMS
     uses proper shell quoting.
+  * In openafs-modules-source, use /lib/modules/`uname -r`/source as the
+    default path to the kernel headers rather than /usr/src/linux.
+    Current kernel header packages will create an appropriate symlink
+    there.  This default is only used when neither module-assistant nor
+    kernel-package are used.
 
  -- Russ Allbery <rra@debian.org>  Fri, 24 Sep 2010 17:05:35 -0700
 
index 684b6ba530ac1c2f38f0530d9696166613b913c3..c03033f49590cc30746c0d7542672087348d42dc 100755 (executable)
@@ -12,7 +12,7 @@ endif
 
 # Find kernel build information.
 ifndef KSRC
-    KSRC = /usr/src/linux
+    KSRC := /lib/modules/$(shell uname -r)/source
 endif
 ifndef KPKG_DEST_DIR
     KPKG_DEST_DIR = ..