Ignore:
Timestamp:
May 2, 2009, 11:46:02 PM (15 years ago)
Author:
broder
Message:

In invirt-autoinstaller:

  • Add a new version of our patches to work with the current Ubuntu update-grub, instead of trying to use the indomU variable (which still excludes kernels from showing up in the menu.lst).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-autoinstaller/common/usr/lib/xen-tools/patches/common.diff

    r1497 r2335  
    1515        newerKernels=""
    1616        for i in $sortedKernels ; do
     17--- /usr/sbin/update-grub.orig  2009-05-03 03:38:48.000000000 +0000
     18+++ /usr/sbin/update-grub       2009-05-03 03:39:57.000000000 +0000
     19@@ -1419,16 +1419,6 @@
     20                is_xen=
     21        fi
     22 
     23-    if [ "$indomU" = "false" ] && [ "$is_xen" ]; then
     24-        # We aren't running in a Xen domU, skip xen kernels
     25-        echo "Ignoring Xen kernel on non-Xen host: $kern"
     26-        continue
     27-    elif [ "$indomU" = "true" ] && ! [ "$is_xen" ]; then
     28-        # We are running in a Xen domU, skip non-xen kernels
     29-        echo "Ignoring non-Xen Kernel on Xen domU host: $kern"
     30-        continue
     31-    fi
     32-   
     33     kern="/boot/$kern"
     34        newerKernels=""
     35        for i in $sortedKernels ; do
    1736--- /boot/grub/menu.lst.orig    2008-05-04 03:17:31.000000000 -0400
    1837+++ /boot/grub/menu.lst 2008-05-04 03:19:09.000000000 -0400
Note: See TracChangeset for help on using the changeset viewer.