]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Fix the default kernel build path
authorRuss Allbery <rra@debian.org>
Sat, 25 Sep 2010 03:31:27 +0000 (20:31 -0700)
committerRuss Allbery <rra@debian.org>
Sat, 25 Sep 2010 03:31:27 +0000 (20:31 -0700)
Use /build, not /source, since the latter points to the common headers
and not the arch-specific ones.

debian/changelog
debian/module/rules

index a9e745dec071fb4529601338ebcd5519b9e5e0f3..db35fcddb18e898459194112e69a6f618ea98714 100644 (file)
@@ -7,7 +7,7 @@ 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
+  * In openafs-modules-source, use /lib/modules/`uname -r`/build 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
index c03033f49590cc30746c0d7542672087348d42dc..6cfc96269d08749abd01ca440ea0f4b9f0e339ce 100755 (executable)
@@ -12,7 +12,7 @@ endif
 
 # Find kernel build information.
 ifndef KSRC
-    KSRC := /lib/modules/$(shell uname -r)/source
+    KSRC := /lib/modules/$(shell uname -r)/build
 endif
 ifndef KPKG_DEST_DIR
     KPKG_DEST_DIR = ..