* util/update-grub_lib.in (prepare_grub_to_access_device): If we were
asked to setup access for the same partition that provides /boot,
don't bother using UUIDs since our root already has the value we
want.
+2008-06-16 Robert Millan <rmh@aybabtu.com>
+
+ * util/update-grub_lib.in (prepare_grub_to_access_device): If we were
+ asked to setup access for the same partition that provides /boot,
+ don't bother using UUIDs since our root already has the value we
+ want.
+
2008-06-16 Robert Millan <rmh@aybabtu.com>
* util/biosdisk.c (convert_system_partition_to_system_disk): Detect
{
device=$1
+ # If our target is the same partition that provides /boot, our $root
+ # is already set to what we want, so no need to bother with UUIDs.
+ if [ "x${device}" = "x${GRUB_DEVICE_BOOT}" ] ; then
+ return
+ fi
+
# If there's a filesystem UUID that GRUB is capable of identifiing, use it;
# otherwise set root as per value in device.map.
echo "set root=`${grub_probe} --device ${device} --target=drive`"