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

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

        * util/grub.d/10_hurd.in: Call prepare_grub_to_access_device  
        ${GRUB_DEVICE_BOOT} before loading /boot kernel.

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

Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog	2009-11-01 23:03:09 UTC (rev 2676)
+++ trunk/grub2/ChangeLog	2009-11-02 13:55:25 UTC (rev 2677)
@@ -1,3 +1,8 @@
+2009-11-02  Samuel Thibault  <[email protected]>
+
+	* util/grub.d/10_hurd.in: Call prepare_grub_to_access_device
+	${GRUB_DEVICE_BOOT} before loading /boot kernel.
+
 2009-11-01  Robert Millan  <[email protected]>
 
 	Based on patch from BVK Chaitanya  <[email protected]>

Modified: trunk/grub2/util/grub.d/10_hurd.in
===================================================================
--- trunk/grub2/util/grub.d/10_hurd.in	2009-11-01 23:03:09 UTC (rev 2676)
+++ trunk/grub2/util/grub.d/10_hurd.in	2009-11-02 13:55:25 UTC (rev 2677)
@@ -71,9 +71,12 @@
 cat << EOF
 menuentry "${OS}" {
 EOF
+prepare_grub_to_access_device ${GRUB_DEVICE_BOOT} | sed -e "s/^/\t/"
+cat << EOF
+	multiboot ${kernel} root=device:${GRUB_DEVICE}
+EOF
 prepare_grub_to_access_device ${GRUB_DEVICE} | sed -e "s/^/\t/"
 cat << EOF
-	multiboot ${kernel} root=device:${GRUB_DEVICE}
 	module /hurd/${hurd_fs}.static ${hurd_fs} --readonly \\
 			--multiboot-command-line='\${kernel-command-line}' \\
 			--host-priv-port='\${host-port}' \\