From 8929ee9ac8f2e697241ba4cc74a9425474f3c9d3 Mon Sep 17 00:00:00 2001 From: Evan Broder Date: Sun, 3 May 2009 02:50:29 -0400 Subject: [PATCH] In invirt-autoinstaller: * 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 | 6 +++--- debian/changelog | 6 ++++++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/common/usr/lib/xen-tools/debian.d/93-setup-grub b/common/usr/lib/xen-tools/debian.d/93-setup-grub index 7989591..8447743 100755 --- a/common/usr/lib/xen-tools/debian.d/93-setup-grub +++ b/common/usr/lib/xen-tools/debian.d/93-setup-grub @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # 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 -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 diff --git a/debian/changelog b/debian/changelog index f25f38c..175d31b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 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. -- 1.7.9.5