From 9add46043092be2f858a74c911d56005c6ea44b6 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sun, 29 Sep 2019 22:33:03 +0000 Subject: [PATCH] Suppress module signing error messages Suppress the following error messages: - SSL error:02001002:system library:fopen:No such file or directory: crypto/bio/bss_file.c:72 - SSL error:2006D080:BIO routines:BIO_new_file:no such file: crypto/bio/bss_file.c:79 sign-file: certs/signing_key.pem: No such file or directory git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8596 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- fcst/Makefile | 2 +- iscsi-scst/Makefile | 4 ++-- qla2x00t-32gbit/Makefile | 2 +- qla2x00t-32gbit/qla2x00-target/Makefile | 2 +- qla2x00t/Makefile | 2 +- qla2x00t/qla2x00-target/Makefile | 2 +- scst/src/Makefile | 4 ++-- scst/src/dev_handlers/Makefile | 2 +- scst_local/Makefile | 2 +- srpt/Makefile | 2 +- 10 files changed, 12 insertions(+), 12 deletions(-) diff --git a/fcst/Makefile b/fcst/Makefile index 1b7888aa3..51ced358a 100644 --- a/fcst/Makefile +++ b/fcst/Makefile @@ -77,7 +77,7 @@ install: all KDIR=$(KDIR) ../scripts/sign-modules $(MAKE) -C $(KDIR) M=$(shell pwd) BUILD_INI=m \ $$([ -n "$(DEPMOD)" ] && echo "DEPMOD=$(DEPMOD)") \ - modules_install + CONFIG_MODULE_SIG_ALL= modules_install ins: ./config diff --git a/iscsi-scst/Makefile b/iscsi-scst/Makefile index b363f803d..37fc134ae 100644 --- a/iscsi-scst/Makefile +++ b/iscsi-scst/Makefile @@ -152,13 +152,13 @@ install: all (cd $(KMOD) && KDIR=$(KDIR) ../../scripts/sign-modules) $(MAKE) -C $(KDIR) M=$(KMOD) \ $$([ -n "$(DEPMOD)" ] && echo "DEPMOD=$(DEPMOD)") \ - modules_install + CONFIG_MODULE_SIG_ALL= modules_install echo "$@: INFINIBAND_ENABLED = $(INFINIBAND_ENABLED)" if $(INFINIBAND_ENABLED); then \ (cd $(ISERTMOD) && KDIR=$(KDIR) ../../../scripts/sign-modules);\ $(MAKE) -C $(KDIR) M=$(ISERTMOD) \ $$([ -n "$(DEPMOD)" ] && echo "DEPMOD=$(DEPMOD)") \ - modules_install; \ + CONFIG_MODULE_SIG_ALL= modules_install; \ fi uninstall: diff --git a/qla2x00t-32gbit/Makefile b/qla2x00t-32gbit/Makefile index 0576c8687..a4295bf72 100644 --- a/qla2x00t-32gbit/Makefile +++ b/qla2x00t-32gbit/Makefile @@ -65,7 +65,7 @@ install: all KDIR=$(KDIR) ../scripts/sign-modules $(MAKE) -C $(KDIR) M=$(shell pwd) BUILD_INI=m \ $$([ -n "$(DEPMOD)" ] && echo "DEPMOD=$(DEPMOD)") \ - modules_install + CONFIG_MODULE_SIG_ALL= modules_install uninstall: rm -f $(INSTALL_DIR)/qla2xxx_scst.ko diff --git a/qla2x00t-32gbit/qla2x00-target/Makefile b/qla2x00t-32gbit/qla2x00-target/Makefile index eb665ff6b..b7a322c6a 100644 --- a/qla2x00t-32gbit/qla2x00-target/Makefile +++ b/qla2x00t-32gbit/qla2x00-target/Makefile @@ -104,7 +104,7 @@ endif KDIR=$(KDIR) ../../scripts/sign-modules $(MAKE) -C $(KDIR) M=$(shell pwd) BUILD_INI=m \ $$([ -n "$(DEPMOD)" ] && echo "DEPMOD=$(DEPMOD)") \ - modules_install + CONFIG_MODULE_SIG_ALL= modules_install uninstall: ifneq ($(BUILD_2X_MODULE),) diff --git a/qla2x00t/Makefile b/qla2x00t/Makefile index 187755f76..814db95b7 100644 --- a/qla2x00t/Makefile +++ b/qla2x00t/Makefile @@ -62,7 +62,7 @@ install: all KDIR=$(KDIR) ../scripts/sign-modules $(MAKE) -C $(KDIR) M=$(shell pwd) BUILD_INI=m \ $$([ -n "$(DEPMOD)" ] && echo "DEPMOD=$(DEPMOD)") \ - modules_install + CONFIG_MODULE_SIG_ALL= modules_install uninstall: rm -f $(INSTALL_DIR)/qla2xxx_scst.ko diff --git a/qla2x00t/qla2x00-target/Makefile b/qla2x00t/qla2x00-target/Makefile index 2b435e517..46e7fde3b 100644 --- a/qla2x00t/qla2x00-target/Makefile +++ b/qla2x00t/qla2x00-target/Makefile @@ -103,7 +103,7 @@ endif KDIR=$(KDIR) ../../scripts/sign-modules $(MAKE) -C $(KDIR) M=$(shell pwd) BUILD_INI=m \ $$([ -n "$(DEPMOD)" ] && echo "DEPMOD=$(DEPMOD)") \ - modules_install + CONFIG_MODULE_SIG_ALL= modules_install uninstall: ifneq ($(BUILD_2X_MODULE),) diff --git a/scst/src/Makefile b/scst/src/Makefile index fecff3214..b84826da7 100644 --- a/scst/src/Makefile +++ b/scst/src/Makefile @@ -131,10 +131,10 @@ install: all KDIR=$(KDIR) ../../scripts/sign-modules $(MAKE) -C $(KDIR) M=$(shell pwd)/dev_handlers \ $$([ -n "$(DEPMOD)" ] && echo "DEPMOD=$(DEPMOD)") \ - modules_install + CONFIG_MODULE_SIG_ALL= modules_install $(MAKE) -C $(KDIR) M=$(shell pwd) \ $$([ -n "$(DEPMOD)" ] && echo "DEPMOD=$(DEPMOD)") \ - modules_install + CONFIG_MODULE_SIG_ALL= modules_install install -d $(INSTALL_DIR_H) header_files="backport.h scst.h scst_const.h scst_debug.h \ scst_itf_ver.h scst_sgv.h scst_user.h"; \ diff --git a/scst/src/dev_handlers/Makefile b/scst/src/dev_handlers/Makefile index c054298e9..4e53bb0fb 100644 --- a/scst/src/dev_handlers/Makefile +++ b/scst/src/dev_handlers/Makefile @@ -68,7 +68,7 @@ install: all KDIR=$(KDIR) ../../../scripts/sign-modules $(MAKE) -C $(KDIR) M=$(shell pwd) \ $$([ -n "$(DEPMOD)" ] && echo "DEPMOD=$(DEPMOD)") \ - modules_install + CONFIG_MODULE_SIG_ALL= modules_install uninstall: rm -f $(INSTALL_DIR)/dev_handlers/scst_*.ko diff --git a/scst_local/Makefile b/scst_local/Makefile index 4e6173d25..971b78777 100644 --- a/scst_local/Makefile +++ b/scst_local/Makefile @@ -54,7 +54,7 @@ install: all KDIR=$(KDIR) ../scripts/sign-modules $(MAKE) -C $(KDIR) M=$(shell pwd) BUILD_INI=m \ $$([ -n "$(DEPMOD)" ] && echo "DEPMOD=$(DEPMOD)") \ - modules_install + CONFIG_MODULE_SIG_ALL= modules_install $(MODULE_SYMVERS): $(SCST_DIR)/$(MODULE_SYMVERS) cp $< $@ diff --git a/srpt/Makefile b/srpt/Makefile index 2124043d8..4eb0445bc 100644 --- a/srpt/Makefile +++ b/srpt/Makefile @@ -111,7 +111,7 @@ install: all (cd src && KDIR=$(KDIR) ../../scripts/sign-modules) $(MAKE) -C $(KDIR) M=$(shell pwd)/src PRE_CFLAGS="$(PRE_CFLAGS)" \ $$([ -n "$(DEPMOD)" ] && echo "DEPMOD=$(DEPMOD)") \ - modules_install + CONFIG_MODULE_SIG_ALL= modules_install uninstall: rm -f $(INSTALL_DIR)/ib_srpt.ko