diff options
author | Alexander Pyhalov <[email protected]> | 2014-10-28 09:48:50 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2014-10-28 09:49:24 -0700 |
commit | 3f4a13c49709ab4bc6abb6b3159be77ce168a5e0 (patch) | |
tree | f1d6ed96dd3c32f8f794c456d79059e9f27bcb57 /module/Makefile.in | |
parent | fd05dde75d1abbb3dd906f9efa298b12ffc9d7d7 (diff) |
Fix modules installation directory
When building zfs modules with kernel, compiled from deb.src, the
packaging process ends up installing the modules in the wrong place.
Signed-off-by: Alexander Pyhalov <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes zfsonlinux/zfs#2822
Diffstat (limited to 'module/Makefile.in')
-rw-r--r-- | module/Makefile.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/module/Makefile.in b/module/Makefile.in index 49bdaa808..41c10101e 100644 --- a/module/Makefile.in +++ b/module/Makefile.in @@ -22,7 +22,8 @@ modules_install: @# Install the kernel modules $(MAKE) -C @LINUX_OBJ@ SUBDIRS=`pwd` $@ \ INSTALL_MOD_PATH=$(DESTDIR)$(INSTALL_MOD_PATH) \ - INSTALL_MOD_DIR=$(INSTALL_MOD_DIR) + INSTALL_MOD_DIR=$(INSTALL_MOD_DIR) \ + KERNELRELEASE=@LINUX_VERSION@ @# Remove extraneous build products when packaging kmoddir=$(DESTDIR)$(INSTALL_MOD_PATH)/lib/modules/@LINUX_VERSION@; \ if [ -n $$kmoddir ]; then \ |