From aea86bcb02b74e85ba4eeb332981f4bf9bce0876 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Fri, 24 Sep 2010 20:31:27 -0700 Subject: [PATCH] Fix the default kernel build path Use /build, not /source, since the latter points to the common headers and not the arch-specific ones. --- debian/changelog | 2 +- debian/module/rules | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index a9e745dec..db35fcddb 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 diff --git a/debian/module/rules b/debian/module/rules index c03033f49..6cfc96269 100755 --- a/debian/module/rules +++ b/debian/module/rules @@ -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 = .. -- 2.39.5