]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2009-08-07 Robert Millan <rmh.grub@aybabtu.com>
authorrobertmh <robertmh@localhost>
Fri, 7 Aug 2009 11:55:36 +0000 (11:55 +0000)
committerrobertmh <robertmh@localhost>
Fri, 7 Aug 2009 11:55:36 +0000 (11:55 +0000)
        * util/grub.d/10_freebsd.in: Use an absolute device path for
        `vfs.root.mountfrom'.  Set `vfs.root.mountfrom.options=rw'.

ChangeLog
util/grub.d/10_freebsd.in

index 68134df3e217b79a4caa3b38f67ee25cb60382f5..2632d050989eb4efe1445e93fe6dd544e10c7380 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-08-07  Robert Millan  <rmh.grub@aybabtu.com>
+
+       * util/grub.d/10_freebsd.in: Use an absolute device path for
+       `vfs.root.mountfrom'.  Set `vfs.root.mountfrom.options=rw'.
+
 2009-08-06  Felix Zielcke  <fzielcke@z-51.de>
 
        * util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Fix
index 2addf03a1542655759357d7f387cffb44c7b87e2..64d2cc4c020ef3d090855620cc5393c8eeb35301 100644 (file)
@@ -50,8 +50,6 @@ if [ "x$kfreebsd" != "x" ] ; then
     devices_rel_dirname=`make_system_path_relative_to_its_root $devices_dirname`
   fi
 
-  root_device=`basename ${GRUB_DEVICE}`
-
   # For "ufs" it's the same.  Do we care about the others?
   kfreebsd_fs=${GRUB_FS}
 
@@ -69,7 +67,8 @@ EOF
 EOF
   fi
   cat << EOF
-       set FreeBSD.vfs.root.mountfrom=${kfreebsd_fs}:${root_device}
+       set FreeBSD.vfs.root.mountfrom=${kfreebsd_fs}:${GRUB_DEVICE}
+       set FreeBSD.vfs.root.mountfrom.options=rw
 }
 EOF
 fi