In invirt-autoinstaller: 0.0.23
authorEvan Broder <broder@mit.edu>
Sun, 3 May 2009 02:56:47 +0000 (22:56 -0400)
committerEvan Broder <broder@mit.edu>
Sun, 3 May 2009 02:56:47 +0000 (22:56 -0400)
  * Create the shell of a menu.lst file needed to successfully parse
    indomU=true out of it.

svn path=/trunk/packages/invirt-autoinstaller/; revision=2333

common/usr/lib/xen-tools/debian.d/93-setup-grub
debian/changelog

index 61deefb..ce54ad6 100755 (executable)
@@ -70,8 +70,19 @@ fi
 #
 # If this is a Jaunty machine, the fix from LP #291256 caused our
 # patch to update-grub to not work, so let's use that mechanism
-# instead
-#
+# instead.
+#
+# Since we haven't run update-grub yet, we need to generate the
+# skeleton of a Debian menu.lst so that update-grub extracts the
+# options correctly
+#
+cat >/boot/grub/menu.lst <<EOF
+### BEGIN AUTOMAGIC KERNELS LIST
+## ## Start Default Options ##
+# indomU=true
+## ## End Default Options ##
+### END DEBIAN AUTOMAGIC KERNELS LIST
+EOF
 sed -i -e 's/indomU=detect/indomU=true/' /boot/grub/menu.lst
 
 #
index 50f5f5f..45401ed 100644 (file)
@@ -1,3 +1,10 @@
+invirt-autoinstaller (0.0.23) unstable; urgency=low
+
+  * Create the shell of a menu.lst file needed to successfully parse
+    indomU=true out of it.
+
+ -- Evan Broder <broder@mit.edu>  Sat, 02 May 2009 22:56:30 -0400
+
 invirt-autoinstaller (0.0.22) unstable; urgency=low
 
   * For Jaunty systems, edit /boot/grub/menu.lst appropriately to work