Bart Van Assche
e1b418938e
usr/stpgd: Fix make install failure for relative DESTDIR
...
When DESTDIR is a relative path, make install fails to install
`scst_on_stpg` for not having created `$(DESTDIR)$(PREFIX)/bin/scst`.
When DESTDIR is an absolute path, make install doesn't fail to install
`scst_on_stpg` because usr/fileio has already created the directory.
usr/stpgd should explicitly create `$(DESTDIR)$(PREFIX)/bin/scst`
so that it can handle a relative DESTDIR, plus be independent of
usr/fileio installation.
--
# cd usr
# make install DESTDIR=./aaa
cd fileio && make install
make[1]: Entering directory '/tmp/scst/usr/fileio'
install -d ./aaa/usr/local/bin/scst
install -m 755 fileio_tgt ./aaa/usr/local/bin/scst
make[1]: Leaving directory '/tmp/scst/usr/fileio'
cd stpgd && make install
make[1]: Entering directory '/tmp/scst/usr/stpgd'
install -d ./aaa/usr/local/sbin
install -m 700 stpgd ./aaa/usr/local/sbin
install -m 700 scst_on_stpg ./aaa/usr/local/bin/scst/scst_on_stpg
install: cannot create regular file './aaa/usr/local/bin/scst/scst_on_stpg': No such file or directory
Makefile:60: recipe for target 'install' failed
make[1]: *** [install] Error 1
make[1]: Leaving directory '/tmp/scst/usr/stpgd'
Makefile:32: recipe for target 'install' failed
make: *** [install] Error 2
Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@osnexus.com >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7403 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-06-04 16:23:45 +00:00
Vladislav Bolkhovitin
8b2fc0949b
Web updates
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7402 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-05-08 02:59:24 +00:00
Bart Van Assche
91f9113cd9
Makefile: Add a missing -q option to a grep command
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7401 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-05-05 08:42:44 +00:00
Bart Van Assche
753b670a39
scst: Unbreak the build on Debian systems
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7400 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-05-05 08:41:51 +00:00
Bart Van Assche
b973e9fafe
scst: Port to RHEL 7.5
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7399 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-05-03 13:26:40 +00:00
Bart Van Assche
4bbb8704b1
rpm, dpkg: Make sure that all necessary directories are created after installation
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7398 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-04-23 17:35:44 +00:00
Vladislav Bolkhovitin
aad75ec75f
Web updates
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7397 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-04-12 04:09:29 +00:00
Vladislav Bolkhovitin
f549829482
Copyrights updated
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7396 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-04-12 03:49:10 +00:00
Vladislav Bolkhovitin
0db74a2dde
Web updates
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7395 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-04-11 06:36:43 +00:00
Vladislav Bolkhovitin
c4125d9b26
Web updates
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7394 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-04-03 01:48:14 +00:00
Vladislav Bolkhovitin
145fcda5c0
README update to reflect recent QLogic git release
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7393 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-03-31 05:32:24 +00:00
Vladislav Bolkhovitin
d67c8d644c
QLogic web updates
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7392 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-03-31 05:30:57 +00:00
Vladislav Bolkhovitin
dae3ec0e83
Updates to support new QLogic git driver
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7391 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-03-31 03:49:15 +00:00
Bart Van Assche
be7e2097c9
scst_vdisk: Fix spelling in an error message
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7390 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-03-21 16:58:36 +00:00
Bart Van Assche
1bcb712213
scst.spec: Fix depmod path
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7389 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-03-08 06:01:49 +00:00
Vladislav Bolkhovitin
60c5a888a2
Web updates
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7388 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-03-08 05:27:47 +00:00
Bart Van Assche
cfc340381e
scst/include/backport.h: Rework the DEFINE_TIMER() backport such that it also works with kernel 3.6 and before
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7387 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-03-07 01:05:31 +00:00
Bart Van Assche
a22dda0a15
nightly build: Update kernel versions
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7386 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-03-04 19:44:44 +00:00
Bart Van Assche
a1b4c9e2fc
scst_lib: Port task management debug code to kernel v4.15
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7385 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-03-04 19:38:02 +00:00
Bart Van Assche
0c5875eac5
scripts/specialize-patch: Add support for HAVE_STRUCT_SRP_LOGIN_REQ_RDMA
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7384 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-03-04 19:37:36 +00:00
Bart Van Assche
258d4d6795
scripts/run-regression-tests: Suppress shellcheck warnings
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7383 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-03-04 19:37:21 +00:00
Bart Van Assche
7201b2de5f
scripts/run-regression-tests: Add "make dpkg" test
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7382 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-03-04 19:37:03 +00:00
Bart Van Assche
d0e5b123eb
scripts/run-regression-tests: Also build scst-dkms-rpm
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7381 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-03-04 19:36:46 +00:00
Bart Van Assche
fa5c8963f2
scst.spec: Simplify this spec file
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7380 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-03-04 19:36:31 +00:00
Bart Van Assche
e5b215d0dc
scst-dkms.spec: Add /usr/include/scst/backport.h
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7379 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-03-04 19:36:15 +00:00
Bart Van Assche
5e82471a69
scst.spec, scst-dkms.spec: Use version of running kernel if %{kdir} has not been set
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7378 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-03-04 19:36:01 +00:00
Bart Van Assche
1f7fdf5cbc
Makefile, rpm: Pass ${KDIR} to scst.spec
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7377 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-03-04 19:35:38 +00:00
Bart Van Assche
5f1fd232ae
scst*.spec: Set default attributes for directories
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7376 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-03-04 19:35:13 +00:00
Bart Van Assche
2d9858d894
scstadmin: Remove 'use Test'
...
Since scstadmin doesn't use the Perl module 'Test', remove 'use Test'.
See also trunk r6736.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7375 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-03-04 19:34:55 +00:00
Bart Van Assche
51e4ded159
scst.spec, scstadmin.spec: Add support for Fedora
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7374 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-03-04 19:34:18 +00:00
Vladislav Bolkhovitin
464b87730c
scst: make tgt_dev per-CPU array directly referenced
...
Modern distributions come with kernels configured for thousands CPUs
(NR_CPUS), which leads to per-CPU array of SGV pool references in each
tgt_dev exceed tens of KB requiring high order page allocations that are
not reliable on aged systems leading to inabilities to create new
sessions.
Reported-by: Jose Martins <jose.martins2307@gmail.com >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7373 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-02-16 05:27:51 +00:00
Bart Van Assche
fa153f9b96
Add .cache.mk and *.o.d to multiple Subversion ignore lists
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7372 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-02-13 19:18:31 +00:00
Bart Van Assche
efb383cab4
ib_srpt: Kernel v4.16 build fix
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7371 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-02-13 19:15:32 +00:00
Bart Van Assche
a8e299b5e6
scst_const.h: Make WRITE_VERIFY_16 available to user space applications
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7370 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-02-10 05:58:02 +00:00
Bart Van Assche
39d9ce2bb5
Debian: Add support for older versions on which dpkg-buildpackage neither supports -ui nor -jauto
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7369 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-02-08 05:43:15 +00:00
Bart Van Assche
d7dd927a07
Make Debian packaging also work for older Debian versions
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7368 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-02-08 00:21:20 +00:00
Bart Van Assche
f3d438ac01
nightly build: Update kernel versions
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7367 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-02-07 21:32:46 +00:00
Bart Van Assche
1aa2453add
dpkg: Build in release mode
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7366 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-02-06 03:26:33 +00:00
Bart Van Assche
47b9268d4f
dpkg: Enable stripping of binary and compression of manual pages
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7365 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-02-06 03:26:03 +00:00
Bart Van Assche
80b20ded1b
dpkg: Remove SCST init script links after package uninstallation instead of before
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7364 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-02-06 03:22:14 +00:00
Bart Van Assche
bcdb25e550
iscsi-scst, srpt: Remove MOFED_MAJOR and MOFED_MINOR definitions
...
Commit r7084 removed all users of MOFED_MAJOR. Hence also remove the
code that sets that variable. Note: MOFED_MINOR was never used in any
.c file.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7363 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-02-05 17:24:46 +00:00
Bart Van Assche
0dd06cbcb9
srpt/Makefile: Improve MOFED detection further
...
Ensure that MOFED is detected correctly on Debian systems on which the rpm
command has been installed ("alien" package).
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7362 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-02-05 17:12:39 +00:00
Bart Van Assche
f0f5c0ae40
scst: Port DEFINE_TIMER() instances to kernel v4.15
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7361 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-02-05 00:12:07 +00:00
Bart Van Assche
86121f3ee4
scst: Reduce the object size slightly
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7360 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-02-04 23:57:14 +00:00
Bart Van Assche
c036d7afc3
scst/include/scst_debug.h: Insert a space to keep checkpatch happy
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7359 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-02-04 23:56:31 +00:00
Bart Van Assche
a290c4ea4b
qla2x00t: Remove a cast from a debug statement
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7358 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-02-04 23:14:43 +00:00
Bart Van Assche
993cf71424
qla2x00t: Fix kernel-doc header inconsistencies
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7357 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-02-04 23:06:21 +00:00
Bart Van Assche
39139632db
scst: Document scst_register_session_mq() arguments
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7356 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-02-04 23:05:58 +00:00
Bart Van Assche
56a8b3ba57
srpt/Makefile: Add support for detecting MOFED on Debian systems
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7355 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-02-04 17:55:38 +00:00
Bart Van Assche
7b7d702f10
nightly build: Update kernel versions
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7354 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-02-03 05:15:16 +00:00