summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2015-10-29 21:48:29 +0100
committerMichał Górny <mgorny@gentoo.org>2015-10-29 21:49:34 +0100
commit6ae778059fa8bcd4c49167ce47cef36e4b421ed1 (patch)
tree5be73e85c9aab2b814a04423d285cd0336937945
parentnet-print/cups-filters: Remove old (diff)
downloadgentoo-6ae778059fa8bcd4c49167ce47cef36e4b421ed1.tar.gz
gentoo-6ae778059fa8bcd4c49167ce47cef36e4b421ed1.tar.bz2
gentoo-6ae778059fa8bcd4c49167ce47cef36e4b421ed1.zip
dev-util/sysdig: Build against correct kernel, #564282
Pass KERNELDIR to kernel module build to force correct kernel source directory. Fixes: https://bugs.gentoo.org/show_bug.cgi?id=564282
-rw-r--r--dev-util/sysdig/sysdig-0.1.104.ebuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/dev-util/sysdig/sysdig-0.1.104.ebuild b/dev-util/sysdig/sysdig-0.1.104.ebuild
index 0c4d00a5cf57..b6f02fe81a9c 100644
--- a/dev-util/sysdig/sysdig-0.1.104.ebuild
+++ b/dev-util/sysdig/sysdig-0.1.104.ebuild
@@ -64,6 +64,7 @@ src_configure() {
# setup linux-mod ugliness
MODULE_NAMES="sysdig-probe(extra:${BUILD_DIR}/driver:)"
+ BUILD_PARAMS='KERNELDIR="${KERNEL_DIR}"'
BUILD_TARGETS="driver"
}