linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* RE: diff, patch, and symbolic links
@ 2002-04-24 18:34 Eric.Oosterhof
  2002-04-24 19:25 ` Michel Lanners
  0 siblings, 1 reply; 5+ messages in thread
From: Eric.Oosterhof @ 2002-04-24 18:34 UTC (permalink / raw)
  To: Ruhland, Paul; +Cc: linuxppc-dev


>Paul Ruhland suggests:
>Eric,
>
>I always do a 'make mrproper' and then an 'rm -f .config*' ( from the root
>of the linux tree of course ) before generating any patch files.  Just be
>sure to save your '.config' somewhere before you remove it.
>
>This way all generated files including the 'include/asm' symlink are
>removed.
>
>--
>Paul Ruhland
I did a 'make mrproper' prior, and I still have the symlink.  I also
deleted it by hand, but that didn't help.  In fact, I even have that
symlink in the original tree.  Is that the root of all evil?  Lastly, when
I deleted the .config, and then do the diff and patch, patch complains that
it wants to erase the .config in the ORIGINAL tree, which is totally wrong!
I absolutely can't have the patch trying to affect the original tree - why
does that even begin to occur?


Eric Oosterhof


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread
* RE: diff, patch, and symbolic links
@ 2002-04-24 18:18 Ruhland, Paul
  0 siblings, 0 replies; 5+ messages in thread
From: Ruhland, Paul @ 2002-04-24 18:18 UTC (permalink / raw)
  To: linuxppc-dev


Eric,

I always do a 'make mrproper' and then an 'rm -f .config*' ( from the root
of the linux tree of course ) before generating any patch files.  Just be
sure to save your '.config' somewhere before you remove it.

This way all generated files including the 'include/asm' symlink are
removed.

--
Paul Ruhland


-----Original Message-----
From: Eric.Oosterhof@radisys.com [mailto:Eric.Oosterhof@radisys.com]
Sent: Wednesday, April 24, 2002 2:07 PM
To: linuxppc-dev@lists.linuxppc.org
Subject: diff, patch, and symbolic links



I have a customized kernel tree, and am trying to create the appropriate
patch file.  I use diff -ruN, and then subsequently use patch -p0 to apply
the patch.  When I apply the patch, the files that I have changed in the
include/asm-ppc directory cause conflicts with the include/asm symbolic
links to the same files.  I think that I can resolve this by editing the
patch file to remove any reference to changes in the include/asm tree, but
the exclude file that I created that listed all the include/asm files should
have worked.  At any rate, I am looking for the "right" solution.

Eric Oosterhof


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread
* diff, patch, and symbolic links
@ 2002-04-24 18:07 Eric.Oosterhof
  2002-04-24 18:56 ` Geert Uytterhoeven
  0 siblings, 1 reply; 5+ messages in thread
From: Eric.Oosterhof @ 2002-04-24 18:07 UTC (permalink / raw)
  To: linuxppc-dev


I have a customized kernel tree, and am trying to create the appropriate
patch file.  I use diff -ruN, and then subsequently use patch -p0 to apply
the patch.  When I apply the patch, the files that I have changed in the
include/asm-ppc directory cause conflicts with the include/asm symbolic
links to the same files.  I think that I can resolve this by editing the
patch file to remove any reference to changes in the include/asm tree, but
the exclude file that I created that listed all the include/asm files
should have worked.  At any rate, I am looking for the "right" solution.

Eric Oosterhof


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-04-24 19:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-24 18:34 diff, patch, and symbolic links Eric.Oosterhof
2002-04-24 19:25 ` Michel Lanners
  -- strict thread matches above, loose matches on Subject: below --
2002-04-24 18:18 Ruhland, Paul
2002-04-24 18:07 Eric.Oosterhof
2002-04-24 18:56 ` Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).