- Timestamp:
- May 2, 2009, 11:46:02 PM (16 years ago)
- Location:
- trunk/packages/invirt-autoinstaller
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-autoinstaller/common/usr/lib/xen-tools/debian.d/93-setup-grub
r2333 r2335 69 69 70 70 # 71 # If this is a Jaunty machine, the fix from LP #291256 caused our72 # patch to update-grub to not work, so let's use that mechanism73 # instead.74 #75 # Since we haven't run update-grub yet, we need to generate the76 # skeleton of a Debian menu.lst so that update-grub extracts the77 # options correctly78 #79 cat >/boot/grub/menu.lst <<EOF80 ### BEGIN AUTOMAGIC KERNELS LIST81 ## ## Start Default Options ##82 # indomU=true83 ## ## End Default Options ##84 ### END DEBIAN AUTOMAGIC KERNELS LIST85 EOF86 sed -i -e 's/indomU=detect/indomU=true/' /boot/grub/menu.lst87 88 #89 71 # Regenerate automagic kernels list 90 72 # -
trunk/packages/invirt-autoinstaller/common/usr/lib/xen-tools/patches/common.diff
r1497 r2335 15 15 newerKernels="" 16 16 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 17 36 --- /boot/grub/menu.lst.orig 2008-05-04 03:17:31.000000000 -0400 18 37 +++ /boot/grub/menu.lst 2008-05-04 03:19:09.000000000 -0400 -
trunk/packages/invirt-autoinstaller/debian/changelog
r2333 r2335 1 invirt-autoinstaller (0.0.24) unstable; urgency=low 2 3 * Add a new version of our patches to work with the current Ubuntu 4 update-grub, instead of trying to use the indomU variable (which still 5 excludes kernels from showing up in the menu.lst). 6 7 -- Evan Broder <broder@mit.edu> Sat, 02 May 2009 23:45:03 -0400 8 1 9 invirt-autoinstaller (0.0.23) unstable; urgency=low 2 10
Note: See TracChangeset
for help on using the changeset viewer.