mirror of
				https://git.proxmox.com/git/mirror_zfs.git
				synced 2025-10-26 18:05:04 +03:00 
			
		
		
		
	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 <apyhalov@gmail.com> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #2822
This commit is contained in:
		
							parent
							
								
									b76707027c
								
							
						
					
					
						commit
						bb9d808c5a
					
				| @ -43,7 +43,8 @@ modules_install: | |||||||
| 	@# Install the kernel modules | 	@# Install the kernel modules | ||||||
| 	$(MAKE) -C @LINUX_OBJ@ SUBDIRS=`pwd` $@ \
 | 	$(MAKE) -C @LINUX_OBJ@ SUBDIRS=`pwd` $@ \
 | ||||||
| 		INSTALL_MOD_PATH=$(DESTDIR)$(INSTALL_MOD_PATH) \
 | 		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 | 	@# Remove extraneous build products when packaging | ||||||
| 	kmoddir=$(DESTDIR)$(INSTALL_MOD_PATH)/lib/modules/@LINUX_VERSION@; \
 | 	kmoddir=$(DESTDIR)$(INSTALL_MOD_PATH)/lib/modules/@LINUX_VERSION@; \
 | ||||||
| 	if [ -n $$kmoddir ]; then \
 | 	if [ -n $$kmoddir ]; then \
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Alexander Pyhalov
						Alexander Pyhalov