cd /usr/src/linux
vps=`awk '/^VERSION/{printf "%s", $3}/^PATCHLEVEL/{printf ".%s", $3}/^SUBLEVEL/{printf ".%s", $3}/^EXTRAVERSION/{printf "%s", $3}FNR > 10{printf "\n"; stop}' Makefile`
if [ -e arch/i386/boot/bzImage ]
then
cp -av arch/i386/boot/bzImage /test_kernel/$vps
else
cp -av arch/i386/boot/zImage /test_kernel/$vps
fi
mkdir -p /lib/modules/$vps
cp -av .config System.map /lib/modules/$vps
-
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/