can't find file to patch at input line 4

Discuss usability issues, general maintenance, and general support issues for a grsecurity-enabled system.

can't find file to patch at input line 4

Postby qwe010 » Fri Aug 22, 2008 11:07 pm

hello

i try to patch but i see this message ?


can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urNp linux-2.4.36.2/arch/alpha/config.in linux-2.4.36.2/arch/alpha/config.in
|--- linux-2.4.36.2/arch/alpha/config.in 2008-02-24 15:38:03.000000000 -0500
|+++ linux-2.4.36.2/arch/alpha/config.in 2008-03-11 14:12:45.000000000 -0400
--------------------------
File to patch:

what the problem ?

my work was

cd /usr/local/src
wget http://www.kernel.org/pub/linux/kernel/ ... 6.3.tar.gz
wget http://www.grsecurity.com/test/grsecuri ... 1830.patch
tar xzvf linux-2.6.26.3.tar.gz
patch -p0 < grsecurity-2.1.11-2.4.36.2-200804211830.patch
qwe010
 
Posts: 1
Joined: Fri Aug 22, 2008 11:01 pm

Re: can't find file to patch at input line 4

Postby nowshining » Sat Aug 23, 2008 1:48 am

try:

gunzip < patch_file | patch -p1

as for the 2.6.26.x kernel I read on the forums that there is no support from them for this and the above kernels, unless I either read wrong or they added support... that and u need the 2.6.x patches for the 2.6.x kernels which ihe second download

http://grsecurity.net/grsecurity-2.1.11 ... 9.patch.gz
nowshining
 
Posts: 13
Joined: Sat Sep 08, 2007 11:56 pm


Return to grsecurity support

cron