Hi,
I'm trying to apply skas patch (skas-2.6.20-v9-pre9.patch.bz2) to
CentOS(RHEL) 5.3 kernel, but I get:
------------------------------------------------
[r...@test 2.6.18-128.el5-i686]# patch -p0 < skas-2.6.20-v9-pre9.patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: linux-2.6.20/arch/i386/Kconfig
|===================================================================
|--- linux-2.6.20.orig/arch/i386/Kconfig
|+++ linux-2.6.20/arch/i386/Kconfig
--------------------------
File to patch:
 
OR
[r...@test SPECS]# rpmbuild -bp --target=i686 kernel-2.6.spec
Building target platforms: i686
Building for target i686
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.77808
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ '[' '!' -d kernel-2.6.18/vanilla ']'
+ cd kernel-2.6.18
+ '[' -d linux-2.6.18.i686 ']'
+ rm -rf deleteme
+ mv linux-2.6.18.i686 deleteme
+ rm -rf deleteme
+ cp -rl vanilla linux-2.6.18.i686
+ cd linux-2.6.18.i686
+ echo 'Patch #1 (patch-2.6.18.4.bz2):'
Patch #1 (patch-2.6.18.4.bz2):
+ /usr/bin/bzip2 -d
+ patch -p1 -s
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ echo 'Patch #3 (git-geode.patch):'
Patch #3 (git-geode.patch):
+ patch -p1 -s
+ echo 'Patch #4 (git-agpgart.patch):'
Patch #4 (git-agpgart.patch):
+ patch -p1 -s
+ echo 'Patch #5 (skas.patch.bz2):'
Patch #5 (skas.patch.bz2):
+ /usr/bin/bzip2 -d
+ patch -p1 -s
1 out of 1 hunk FAILED -- saving rejects to file
include/asm-i386/desc.h.rej
The text leading up to this was:
--------------------------
|Index: linux-2.6.20/include/asm-x86_64/ptrace-abi.h
|===================================================================
|--- linux-2.6.20.orig/include/asm-x86_64/ptrace-abi.h
|+++ linux-2.6.20/include/asm-x86_64/ptrace-abi.h
--------------------------
File to patch:
 
Did someone succeed to apply the patch or is there a tutorial how to do
it?
 
Link to previous answer of this question is also welcome (even I tried
to search and did not find one)
 
Thanks,
 
Hristo
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to