lkml.org 
[lkml]   [1999]   [Oct]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: diff -X exclude_file for patching live kernels?


On Fri, 15 Oct 1999, Tigran Aivazian wrote:

> Hi guys,
>
> Does some kind soul have an exclude file for being able to run
>
> diff -urN -X exclude_file linux linux-patched > my.patch 2>&1
>
> i.e. I can put patterns like "*.o" ".config" etc etc but it will take time
> to find them all out.
>
> This would allow making patches from the compiled patched tree without
> having to do "make mrproper" each time.

cp -rl linux linux-foo; cd linux-foo; rm -rf include/asm; make distclean
and there you go. Links are there for purpose. Moreover, I normally just
do cp -rl before everything else and build on a mirror tree. Vi knows
how to deal with links, so it doesn't create a separate copy when you edit
file. Even if you are using the abortion from MIT the first variant will
go.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.071 / U:0.912 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site