diff options
author | Alexander Pyhalov <[email protected]> | 2014-10-22 22:02:45 +0400 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2014-10-28 09:46:14 -0700 |
commit | bb9d808c5a942111addef033bd50bff86d1a5cc7 (patch) | |
tree | a01cb6d7e0719c9add2761a0bd0fa810e78fe883 /module/Makefile.in | |
parent | b76707027ceca056f8630cbc6660b8e9aa0a8f37 (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 #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 4c6d38168..686402b1f 100644 --- a/module/Makefile.in +++ b/module/Makefile.in @@ -43,7 +43,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 \ |