X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-autoinstaller.git/blobdiff_plain/68bf8a3793334f61d25d5b866f1e24d1746d6c6c..04a85e82bb3cd2929c4ebb0e8df2a97c73eb4890:/common/usr/lib/xen-tools/patches/common.diff diff --git a/common/usr/lib/xen-tools/patches/common.diff b/common/usr/lib/xen-tools/patches/common.diff new file mode 100644 index 0000000..2f58ce0 --- /dev/null +++ b/common/usr/lib/xen-tools/patches/common.diff @@ -0,0 +1,27 @@ +--- /usr/sbin/update-grub.orig 2008-05-03 23:30:37.000000000 -0400 ++++ /usr/sbin/update-grub 2008-05-03 23:30:55.000000000 -0400 +@@ -911,13 +911,6 @@ + is_xen= + fi + +- if [ ! "$in_domU" ] && [ "$is_xen" ]; then +- # skip xen kernels +- continue +- elif [ "$in_domU" ] && ! [ "$is_xen" ]; then +- # skip non-xen kernels +- continue +- fi + kern="/boot/$kern" + newerKernels="" + for i in $sortedKernels ; do +--- /boot/grub/menu.lst.orig 2008-05-04 03:17:31.000000000 -0400 ++++ /boot/grub/menu.lst 2008-05-04 03:19:09.000000000 -0400 +@@ -59,7 +59,7 @@ + ## e.g. kopt=root=/dev/hda1 ro + ## kopt_2_6_8=root=/dev/hdc1 ro + ## kopt_2_6_8_2_686=root=/dev/hdc2 ro +-# kopt=root=/dev/hda1 ro ++# kopt=root=/dev/hda1 ro console=ttyS0,9600,8n1 + + ## default grub root device + ## e.g. groot=(hd0,0)