Package: grub
Version: 0.97-47lenny2
Followup-For: Bug #513216

This does seem to be the correct fix for this bug - I came up with this
fix independantly.


--- /usr/sbin/grub-install      2009-03-24 11:09:47.000000000 +0000
+++ /usr/sbin/grub-install.new  2009-03-24 11:08:56.000000000 +0000
@@ -371,7 +371,7 @@
 sync
 
 # On XFS, sync() is not enough.
-if [ `grub-probe -t fs ${grubdir}` = "xfs" ] ; then
+if [ `grub-probe --device-map=${device_map} -t fs ${grubdir}` = "xfs" ] ; then
   xfs_freeze -f ${grubdir} && xfs_freeze -u ${grubdir}
   # We don't have set -e.  If xfs_freeze failed, it's worth trying anyway,
   # maybe we're lucky.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to