Re: diff -X exclude_file for patching live kernels?

Petr Vandrovec (vandrove@vc.cvut.cz)
Fri, 15 Oct 1999 12:25:02 +0200


Hi,
I'm using following... It is based on i386, for other you'll have
to add their specific names, probably.
Best regards,
Petr Vandrovec
vandrove@vc.cvut.cz

/* diff script, diffs vger and linux directories, generating
nice 'diff linux/path1 linux/path1', so you can apply it
both ways to same linux tree */
#!/bin/sh
TZ=GMT diff -urdN -X .exclude vger linux | sed 's/ -X .exclude vger\// linux\//' | sed 's/--- vger\//--- linux\//'

/* .exclude file */
.*
*.a
*.o
*.orig
*.rej
bootsect.s
bbootsect.s
setup.s
bsetup.s
bootsect
bbootsect
build
setup
bsetup
vmlinux.out
bvmlinux.out
zImage
bzImage
btfixupprep
btfix.s
conmakehash
consolemap_deftbl.c
asm
config
autoconf.h
compile.h
modversions.h
version.h
vmlinux
bvmlinux
System.map
lxdialog
mkdep
split-include
*_MODULES
CVS
vmlinux.lds

-
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/