From: Michel Lanners <mlan@cpu.lu>
To: Eric.Oosterhof@radisys.com
Cc: PRuhland@microwavedata.com, linuxppc-dev@lists.linuxppc.org
Subject: Re: diff, patch, and symbolic links
Date: Wed, 24 Apr 2002 21:25:01 +0200 (CEST) [thread overview]
Message-ID: <E170SO4-000076-00@piglet.grunz.lu> (raw)
In-Reply-To: <OF97E48CDE.74B2B7E9-ON88256BA5.0065B1DB@radisys.com>
On 24 Apr, this message from Eric.Oosterhof@radisys.com echoed through cyberspace:
>>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.
>>
> 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?
Because your 'original' tree has the symlink also. Do a 'make mrproper'
in _both_ trees. That has always worked for me....
At any rate, there's no reason to have build files (symlinks, .config's
et al) in your 'original' tree.
Cheers
Michel
-------------------------------------------------------------------------
Michel Lanners | " Read Philosophy. Study Art.
23, Rue Paul Henkes | Ask Questions. Make Mistakes.
L-1710 Luxembourg |
email mlan@cpu.lu |
http://www.cpu.lu/~mlan | Learn Always. "
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2002-04-24 19:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-24 18:34 diff, patch, and symbolic links Eric.Oosterhof
2002-04-24 19:25 ` Michel Lanners [this message]
-- 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
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=E170SO4-000076-00@piglet.grunz.lu \
--to=mlan@cpu.lu \
--cc=Eric.Oosterhof@radisys.com \
--cc=PRuhland@microwavedata.com \
--cc=linuxppc-dev@lists.linuxppc.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;
as well as URLs for NNTP newsgroup(s).