1 |
I also asked this awhile back, the only way to get it to work is to |
2 |
hack it, its quite dirty. Open up the apply script in an editor and |
3 |
look for the following section: |
4 |
|
5 |
APPLIED_PATCHES="" |
6 |
bugger= |
7 |
for i in $PATCH_DIR/[0-9]* ; do |
8 |
name=${i##$PATCH_DIR/} |
9 |
|
10 |
echo "Applying $name ..." |
11 |
apply_patch $i |
12 |
ret=$? |
13 |
if [ $ret -eq 10 ] ; then |
14 |
prompt_yes "$name will not apply cleanly. Reverse |
15 |
applied patches" || exit 1 |
16 |
bugger=1 |
17 |
break |
18 |
elif [ $ret -eq 20 ] ; then |
19 |
echo "Eeep! Patch $name was supposed to apply cleanly |
20 |
but didn't!" |
21 |
echo "Stopping right now. The patches that did |
22 |
successfully apply were:" |
23 |
for i in $APPLIED_PATCHES ; do echo $i ; done |
24 |
exit 2 |
25 |
fi |
26 |
APPLIED_PATCHES="$name $APPLIED_PATCHES" |
27 |
done |
28 |
|
29 |
If you look at your if statements they should be 1 and 2 change them |
30 |
to 10 and 20. It will than apply all the patches to the kernel. Than |
31 |
make menucconfig and continue. |
32 |
|
33 |
I cant remember who told me about this but thanks to who ever it was. |
34 |
|
35 |
Hope it helps |
36 |
Cheers |
37 |
Rav |
38 |
|
39 |
|
40 |
|
41 |
On 5/19/05, Leandro Castanheira <lleandro@×××××.com> wrote: |
42 |
> Hi.. |
43 |
> I'm trying to patch my kernel but when I run |
44 |
> /root/software-suspend-2.1.8-for-2.6.11/apply |
45 |
> I get: |
46 |
> |
47 |
> Applying 101-kdb-v4.4-2.6.11-rc3-common-1 ... |
48 |
> 101-kdb-v4.4-2.6.11-rc3-common-1 will not apply cleanly. Reverse applied |
49 |
> patches [Yn]? |
50 |
> |
51 |
> If I put Y, |
52 |
> Reversing patches... |
53 |
> Done. |
54 |
> |
55 |
> but nothing happens.. |
56 |
> |
57 |
> I already try to del the 101-kdb-v4.4-2.6.11-rc3-common-1 file in the |
58 |
> /root/software-suspend-2.1.8-for-2.6.11/ put the appears another one |
59 |
> 102********* will not apply cleanly. Reverse applied patches [Yn]? |
60 |
> |
61 |
> So, what can i do? |
62 |
> |
63 |
> I did the |
64 |
> emerge kernel-sources |
65 |
> and get the |
66 |
> http://www.suspend2.net/downloads/all/software-suspend-2.1.8-for-2.6.11.tar.bz2 |
67 |
> |
68 |
> Thanks, |
69 |
> Leandro |
70 |
> -- |
71 |
> gentoo-laptop@g.o mailing list |
72 |
> |
73 |
> |
74 |
|
75 |
-- |
76 |
gentoo-laptop@g.o mailing list |