mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 02:31:27 +00:00
Merge branch 'svn-trunk'
This commit is contained in:
@@ -127,6 +127,13 @@ install: all
|
||||
false; fi
|
||||
-rm -f $(INSTALL_DIR)/scsi_tgt.ko
|
||||
KDIR=$(KDIR) ../../scripts/sign-modules
|
||||
# Apparently on RHEL 8 and CentOS 8 the module installation can
|
||||
# leave stale symlinks in /lib/modules/$(KVER)/weak-updates/. These
|
||||
# symlinks may cause loading of SCST to fail, Remove these symlinks
|
||||
# before installing SCST.
|
||||
if [ -e /usr/sbin/weak-modules ]; then \
|
||||
/usr/sbin/weak-modules --remove-kernel; \
|
||||
fi
|
||||
$(MAKE) -C $(KDIR) M=$(shell pwd)/dev_handlers \
|
||||
INSTALL_MOD_DIR=extra/dev_handlers \
|
||||
$$([ -n "$(DEPMOD)" ] && echo "DEPMOD=$(DEPMOD)") \
|
||||
|
||||
Reference in New Issue
Block a user