Bug#513216: grub: Confirmed incorrect call to grub-probe without device-map
Tim Small
tim at buttersideup.com
Tue Mar 24 11:39:18 UTC 2009
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.
More information about the Pkg-grub-devel
mailing list