Hello,
I was attempting to apply the xen patches to 2.6.31.12 kernel source with this script:
#!/bin/bash
for P in `ls ../xen-patches-2.6.31-11/6*.patch1 | sort `
do
patch -p1 -s -i $P
if [ $? = 0 ]; then
echo $P applied
else
echo "Error processing "$P
exit 1
fi
done
During execution (while in the top level directory of the kernel source) I was presented with:
root@localhost:/usr/local/src/linux-2.6.31.12-xen# sh xen-patching.sh
The text leading up to this was:
--------------------------
|Subject: add console_use_vt
|From: kraxel@xxxxxxx
|Patch-mainline: no
|
|$subject says all
|
|---
| drivers/char/tty_io.c | 7 ++++++-
| include/linux/console.h | 1 +
| 2 files changed, 7 insertions(+), 1 deletion(-)
|
|--- head-2009-10-06.orig/drivers/char/tty_io.c 2009-10-06 14:51:58.000000000 +0200
|+++
head-2009-10-06/drivers/char/tty_io.c 2009-10-06 14:55:34.000000000 +0200
--------------------------
File to patch:
>> I was wondering what information I should provide on the console after the "File to patch:" line?
Thanks.
-M