In invirt-autoinstaller: 0.0.28
authorEvan Broder <broder@mit.edu>
Sun, 3 May 2009 06:50:29 +0000 (02:50 -0400)
committerEvan Broder <broder@mit.edu>
Sun, 3 May 2009 06:50:29 +0000 (02:50 -0400)
  * We're using bashisms in 93-setup-grub, so let's use bash.

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

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

index 7989591..8447743 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 #
 #  This script sets up the ParaVM to use pygrub
 #
 #
 #  This script sets up the ParaVM to use pygrub
 #
@@ -86,8 +86,8 @@ for i in $(seq 1 "$NUMPARTITIONS"); do
     esac
 done
 sed -i -e "s#root=[^ ]*#root=UUID=$ROOT_UUID#" ${prefix}/boot/grub/menu.lst
     esac
 done
 sed -i -e "s#root=[^ ]*#root=UUID=$ROOT_UUID#" ${prefix}/boot/grub/menu.lst
-sed -i -e "s#${ROOT_GUEST}#${ROOT_UUID}#" ${prefix}/etc/fstab
-sed -i -e "s#${SWAP_GUEST}#${SWAP_UUID}#" ${prefix}/etc/fstab
+sed -i -e "s#${ROOT_GUEST}#UUID=${ROOT_UUID}#" ${prefix}/etc/fstab
+sed -i -e "s#${SWAP_GUEST}#UUID=${SWAP_UUID}#" ${prefix}/etc/fstab
 
 #
 # Regenerate automagic kernels list, saving our changes
 
 #
 # Regenerate automagic kernels list, saving our changes
index f25f38c..175d31b 100644 (file)
@@ -1,3 +1,9 @@
+invirt-autoinstaller (0.0.28) unstable; urgency=low
+
+  * We're using bashisms in 93-setup-grub, so let's use bash.
+
+ -- Evan Broder <broder@mit.edu>  Sun, 03 May 2009 02:40:54 -0400
+
 invirt-autoinstaller (0.0.27) unstable; urgency=low
 
   * Correctly detect what the path to the block devices in fstab are.
 invirt-autoinstaller (0.0.27) unstable; urgency=low
 
   * Correctly detect what the path to the block devices in fstab are.