From: Bart V. A. <bva...@ac...> - 2014-07-10 06:31:37
|
On 07/09/14 19:56, deeepdish wrote: > Thank you very much for your quick response. I went through makefiles but missed the ones you referenced. > > The following was used to build scst (using rebuilt/patched kernel): > > BUILD_2X_MODULE=y CONFIG_SCSI_QLA_FC=y CONFIG_SCSI_QLA2XXX_TARGET=y make rpm > > I installed scst via rpm -ivh (scst + scstadmin packages). Hello, The following changes have been checked in on the trunk and on the SCST v3.0 branch and should ensure that the /var/lib/scst/pr and /var/lib/scst/vdev_mode_pages directories are created during RPM installation: --- scst.spec.in | 3 ++- scst/src/Makefile | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/scst.spec.in b/scst.spec.in index 4dc2ff9..4c2cc3f 100644 --- a/scst.spec.in +++ b/scst.spec.in @@ -121,7 +121,8 @@ find /lib/modules/%{kver} -name ib_srpt.ko -exec rm {} \; %{_mandir}/man8/iscsi-scstd.8.gz %{_sbindir}/iscsi-scst-adm %{_sbindir}/iscsi-scstd -%dir /var/lib/scst +%dir /var/lib/scst/pr +%dir /var/lib/scst/vdev_mode_pages %files devel %defattr(-,root,root) diff --git a/scst/src/Makefile b/scst/src/Makefile index ddd9f40..e26f696 100644 --- a/scst/src/Makefile +++ b/scst/src/Makefile @@ -111,6 +111,7 @@ endif /sbin/depmod -b $(INSTALL_MOD_PATH)/ -a $(KVER); \ fi mkdir -p $(DESTDIR)/var/lib/scst/pr + mkdir -p $(DESTDIR)/var/lib/scst/vdev_mode_pages @echo "****************************************************************" @echo "*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*" @echo "*!! !!*" -- 1.8.4.5 |