[2679] 2009-11-02 Samuel Thibault <[email protected]>

Robert Millan <[email protected]> Mon, 02 Nov 2009 19:32:13 +0000
Newsgroups gmane.comp.boot-loaders.grub.cvs
Message-ID <[email protected]>
Revision: 2679
          http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=2679
Author:   robertmh
Date:     2009-11-02 19:32:12 +0000 (Mon, 02 Nov 2009)
Log Message:
-----------
2009-11-02  Samuel Thibault  <[email protected]>

        * util/grub.d/10_hurd.in: Drop /dev/ prefix from root device path before
        giving it to GNU Mach.

Modified Paths:
--------------
    trunk/grub2/ChangeLog
    trunk/grub2/util/grub.d/10_hurd.in

Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog	2009-11-02 19:14:00 UTC (rev 2678)
+++ trunk/grub2/ChangeLog	2009-11-02 19:32:12 UTC (rev 2679)
@@ -1,5 +1,10 @@
 2009-11-02  Samuel Thibault  <[email protected]>
 
+	* util/grub.d/10_hurd.in: Drop /dev/ prefix from root device path before
+	giving it to GNU Mach.
+
+2009-11-02  Samuel Thibault  <[email protected]>
+
 	* util/hostdisk.c (grub_util_biosdisk_get_grub_dev): Subtract 1 from
 	GNU partition number to get internal GRUB partition number.
 

Modified: trunk/grub2/util/grub.d/10_hurd.in
===================================================================
--- trunk/grub2/util/grub.d/10_hurd.in	2009-11-02 19:14:00 UTC (rev 2678)
+++ trunk/grub2/util/grub.d/10_hurd.in	2009-11-02 19:32:12 UTC (rev 2679)
@@ -73,7 +73,7 @@
 EOF
 prepare_grub_to_access_device ${GRUB_DEVICE_BOOT} | sed -e "s/^/\t/"
 cat << EOF
-	multiboot ${kernel} root=device:${GRUB_DEVICE}
+	multiboot ${kernel} root=device:${GRUB_DEVICE#/dev/}
 EOF
 prepare_grub_to_access_device ${GRUB_DEVICE} | sed -e "s/^/\t/"
 cat << EOF