Patching files that already exist/ don't exist

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

Patching files that already exist/ don't exist

Postby GBit » Wed Oct 10, 2012 10:09 pm

So I downloaded the source from kernel.org and the test patch for 3.6.1.

patch -p1 < /usr/src/linux/grsecurity-2.9.1-3.6.1-201210102005.patch

I'm getting output like this:
patching file Documentation/devicetree/bindings/gpio/gpio_i2c.txt
The next patch would delete the file Documentation/devicetree/bindings/gpio/gpio_nvidia.txt,
which does not exist! Assume -R? [n] y
patching file Documentation/devices.txt
Reversed (or previously applied) patch detected! Assume -R? [n] y
The next patch would create the file Documentation/devicetree/bindings/arm/armada-370-xp-mpic.txt,
which already exists! Assume -R? [n] y

patching file Documentation/feature-removal-schedule.txt
Hunk #1 succeeded at 21 (offset 8 lines).
Hunk #2 FAILED at 78.
Hunk #3 FAILED at 257.
Hunk #4 FAILED at 422.
Hunk #5 succeeded at 440 (offset -17 lines).
Hunk #6 FAILED at 544.
Hunk #7 succeeded at 592 (offset -18 lines).
Hunk #8 FAILED at 625.
Hunk #9 succeeded at 665 with fuzz 1 (offset 25 lines).
5 out of 9 hunks FAILED -- saving rejects to file Documentation/feature-removal-schedule.txt.rej
GBit
 
Posts: 81
Joined: Mon Jun 04, 2012 3:31 pm

Re: Patching files that already exist/ don't exist

Postby x14sg1 » Wed Oct 10, 2012 11:09 pm

This patch is 12.8 times larger than the last patch for the 3.5.6 kernel ...
x14sg1
 
Posts: 137
Joined: Sun Aug 23, 2009 7:47 pm

Re: Patching files that already exist/ don't exist

Postby spender » Thu Oct 11, 2012 7:21 am

It will be fixed tonight -- it seems my build scripts chose the wrong base to generate the patch from.

Thanks,
-Brad
spender
 
Posts: 2185
Joined: Wed Feb 20, 2002 8:00 pm


Return to grsecurity support