Skip to content
This repository has been archived by the owner on Feb 26, 2020. It is now read-only.

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 openzfs/zfs#2822
  • Loading branch information
pyhalov authored and behlendorf committed Oct 28, 2014
1 parent fd05dde commit 3f4a13c
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 @@ -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 \
Expand Down

0 comments on commit 3f4a13c

Please sign in to comment.