From 73ab86c615ea93c9930a98593e0349075807b58b Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Fri, 18 Jul 2014 09:30:25 +0000 Subject: [PATCH] srpt/README: Fix SLES patch instructions git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5682 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- srpt/README.ofed | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srpt/README.ofed b/srpt/README.ofed index 42a5d577e..788b8b941 100644 --- a/srpt/README.ofed +++ b/srpt/README.ofed @@ -61,7 +61,7 @@ the variable PRE_CFLAGS: if [ -e /lib/modules/$(uname -r)/build/scripts/Makefile.lib ]; then cd /lib/modules/$(uname -r)/build else - cd /usr/src/linux-$(uname -r) + cd /usr/src/linux-$(uname -r | sed 's/\(-default\|-trace\|-xen\)$//;s/\.[0-9]\+\.[0-9]\+\.[0-9]\+\.PTF$//') fi patch -p1 < ${SCST_DIR}/srpt/patches/kernel-${KV}-pre-cflags.patch