Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Dmitry Vinokurov <d.vinokuroff@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: Strange do_patch behaviour
Date: Thu, 27 Aug 2009 18:04:19 +0600	[thread overview]
Message-ID: <4A967643.7050503@gmail.com> (raw)
In-Reply-To: <1251301150.4493.12.camel@conroy-linux>

Chris Conroy wrote:
> On Wed, 2009-08-26 at 19:33 +0600, Dmitry Vinokurov wrote:
>   
>> ------------
>> And looks like bitbake did nothing except patching, but actually it does 
>> (diff between manually and bitbake patched dirs is ~30000 strings, and I 
>> decided not to attach it:)) and as a result builded kernel fails with 
>> kernel panic. Diff shows, that '.pc' dir is created (and some files in 
>> it are forbidden for any access (0000 rights)) and not only it -- some 
>> other files like in arch/arm or sound/soc/lpc3xxx/ differs too. Tried to 
>> remove tmp/ and rebuild -- same result.
>>
>> Could anybody explain this strange behaviour? I thought that patch task 
>> should only execute 'patch' command.
>>
>>     
>
> Bitbake uses a tool called 'quilt' in order to do the patching, and
> quilt creates the .pc directory. Basically, quilt lets you deal with
> patches as a stack. If you go into the linux work directory, you should
> be able to run quilt commands to manually figure out what OE is patching
> here.
>
> 'quilt applied' to see what patches are applied
> 'quilt pop' to pop a patch off the stack
> 'quilt push' to push a patch onto the stack.
>
> Some Quilt Links:
> Very helpful presentation: http://www.coffeebreaks.org/blogs/wp-content/archives/talks/2005/quilt/quiltintro-s5.html
> Overview PDF: http://www.suse.de/~agruen/quilt.pdf
> Savannah page: http://savannah.nongnu.org/projects/quilt
>   
Thanks, refs and information was really helpful. Actually the only 
differences were in .pc and patches/, the only one applied patch was my 
phy3250. I just was inattentive and confused strings with differences in 
files and strings with file names.

--
Best Regards, 
Dmitry Vinokurov 
<d.vinokuroff@gmail.com>




      reply	other threads:[~2009-08-27 12:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-26 13:33 Strange do_patch behaviour Dmitry Vinokurov
2009-08-26 15:39 ` Chris Conroy
2009-08-27 12:04   ` Dmitry Vinokurov [this message]

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=4A967643.7050503@gmail.com \
    --to=d.vinokuroff@gmail.com \
    --cc=openembedded-devel@lists.openembedded.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