Skip to content

Commit

Permalink
Fix modules installation directory
Browse files Browse the repository at this point in the history
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 <apyhalov@gmail.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #2822
  • Loading branch information
pyhalov authored and behlendorf committed Oct 28, 2014
1 parent b767070 commit bb9d808
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion module/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit bb9d808

Please sign in to comment.