public inbox for gentoo-laptop@lists.gentoo.org
 help / color / mirror / Atom feed
From: Leandro Castanheira <lleandro@gmail.com>
To: gentoo-laptop@lists.gentoo.org
Subject: Re: [gentoo-laptop] can't patch the kernel to swsusp2
Date: Thu, 19 May 2005 23:24:00 -0300	[thread overview]
Message-ID: <428D4A40.7070704@gmail.com> (raw)
In-Reply-To: <deb201105051900025513ea71@mail.gmail.com>

Thanks, now it works....

Leandro

Ryan Viljoen wrote:

>I also asked this awhile back, the only way to get it to work is to
>hack it, its quite dirty. Open up the apply script in an editor and
>look for the following section:
>
>APPLIED_PATCHES=""
>bugger=
>for i in $PATCH_DIR/[0-9]* ; do
>        name=${i##$PATCH_DIR/}
>
>        echo "Applying $name ..."
>        apply_patch $i
>        ret=$?
>        if [ $ret -eq 10 ] ; then
>                prompt_yes "$name will not apply cleanly. Reverse
>applied patches" || exit 1
>                bugger=1
>                break
>        elif [ $ret -eq 20 ] ; then
>                echo "Eeep! Patch $name was supposed to apply cleanly
>but didn't!"
>                echo "Stopping right now. The patches that did
>successfully apply were:"
>                for i in $APPLIED_PATCHES ; do echo $i ; done
>                exit 2
>        fi
>        APPLIED_PATCHES="$name $APPLIED_PATCHES"
>done
>
>If you look at your if statements they should be 1 and 2 change them
>to 10 and 20. It will than apply all the patches to the kernel. Than
>make menucconfig and continue.
>
>I cant remember who told me about this but thanks to who ever it was.
>
>Hope it helps 
>Cheers
>Rav
>
>
>
>On 5/19/05, Leandro Castanheira <lleandro@gmail.com> wrote:
>  
>
>>Hi..
>>I'm trying to patch my kernel but when I run
>>/root/software-suspend-2.1.8-for-2.6.11/apply
>>I get:
>>
>>Applying 101-kdb-v4.4-2.6.11-rc3-common-1 ...
>>101-kdb-v4.4-2.6.11-rc3-common-1 will not apply cleanly. Reverse applied
>>patches [Yn]?
>>
>>If I put Y,
>>Reversing patches...
>>Done.
>>
>>but nothing happens..
>>
>>I already try to del the 101-kdb-v4.4-2.6.11-rc3-common-1 file in the
>>/root/software-suspend-2.1.8-for-2.6.11/ put the appears another one
>>102********* will not apply cleanly. Reverse applied patches [Yn]?
>>
>>So, what can i do?
>>
>>I did the
>>emerge kernel-sources
>>and get the
>>http://www.suspend2.net/downloads/all/software-suspend-2.1.8-for-2.6.11.tar.bz2
>>
>>Thanks,
>>Leandro
>>--
>>gentoo-laptop@gentoo.org mailing list
>>
>>
>>    
>>
>
>  
>

-- 
gentoo-laptop@gentoo.org mailing list


  reply	other threads:[~2005-05-20  2:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-19  2:38 [gentoo-laptop] can't patch the kernel to swsusp2 Leandro Castanheira
2005-05-19  7:02 ` Ryan Viljoen
2005-05-20  2:24   ` Leandro Castanheira [this message]
2005-05-19  9:21 ` Henrik Brix Andersen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=428D4A40.7070704@gmail.com \
    --to=lleandro@gmail.com \
    --cc=gentoo-laptop@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox