If you does not care about rpms you can install SCST directly to the system, the drawback is really hard to uninstall it.
You should reinstall the kernel, kernel-dev/src as well in order to get rid of SCST drivers.
adduser mockbuild
visudo
Add the line
mockbuild ALL=(ALL) NOPASSWD: ALL
su
mockbuild
mkdir ~/scst
get the recent version of srpt from http://sourceforge.net/projects/scst/files/srpt/
extract scst to
/home/mockbuild/scst/srpt-2.2.0/
Patch Kernel make file
#!/bin/bash
if [ -e /lib/modules/$(uname -r)/build/scripts/Makefile.lib ]; then cd /lib/modules/$(uname -r)/build; else cd /usr/src/linux-$(uname -r); fi
sudo patch -p1 < /home/mockbuild/scst/srpt-2.2.0/patches/kernel-$(uname -r | sed -e 's|-.*||')-pre-cflags.patch
make scst_clean scst scst_install iscsi iscsi_install
make srpt_install
make -s scstadm scstadm_install
make iscsi iscsi_install scstadm_install scst_install srpt srpt_install
done!
follow part-2 to configure.
Keine Kommentare:
Kommentar veröffentlichen