]> git.proxmox.com Git - grub2.git/commitdiff
* util/grub.d/20_linux_xen.in: Don't use UUID for LVM root (matching
authorColin Watson <cjwatson@ubuntu.com>
Sun, 1 Aug 2010 13:54:10 +0000 (08:54 -0500)
committerColin Watson <cjwatson@ubuntu.com>
Sun, 1 Aug 2010 13:54:10 +0000 (08:54 -0500)
util/grub.d/10_linux.in).  Fixes Debian bug #591093.

ChangeLog
util/grub.d/20_linux_xen.in

index f34ed35c982a6fd41d0db9aed5f91ea987840c84..abe69857445855d61bb7ff6f9c449ee0e6d7e67e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-08-01  Colin Watson  <cjwatson@ubuntu.com>
+
+       * util/grub.d/20_linux_xen.in: Don't use UUID for LVM root (matching
+       util/grub.d/10_linux.in).  Fixes Debian bug #591093.
+
 2010-08-01  Robert Millan  <rmh@gnu.org>
 
        * kern/emu/getroot.c: Include `<grub/util/misc.h>'.
index 8612c96b0fa8bff75ecc050c968124adf4c8e828..e631c0a4ae05bacc104ce14ad0b027dd8c728c7e 100644 (file)
@@ -44,7 +44,8 @@ case ${GRUB_DEVICE} in
 esac
 
 if [ "x${GRUB_DEVICE_UUID}" = "x" ] || [ "x${GRUB_DISABLE_LINUX_UUID}" = "xtrue" ] \
-    || ! test -e "/dev/disk/by-uuid/${GRUB_DEVICE_UUID}" ; then
+    || ! test -e "/dev/disk/by-uuid/${GRUB_DEVICE_UUID}" \
+    || uses_abstraction "${GRUB_DEVICE}" lvm; then
   LINUX_ROOT_DEVICE=${GRUB_DEVICE}
 else
   LINUX_ROOT_DEVICE=UUID=${GRUB_DEVICE_UUID}