I finally automated the patch-and-build after typing all this
a few hundred times or so:
#!/bin/bash
#kmake: patch if given, and make kernel
set -v
cd /usr/src
case $1 in
patch-*.gz) zcat $1 | patch -p0;;
esac
cd linux || exit 1;
find . -name "*.rej" -exec sh -c "echo REJECTS; kill 0" \;
find . -name "*.orig" -exec rm \{\} \;
find . -size 0 -exec rm \{\} \;
make oldconfig && make dep && make clean && make zlilo && make modules &&
make modules_install
-Jim http://as220.org/jb Software Libre O Morir!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu