* util/grub.d/10_kfreebsd.in: Use ${grub_mkrelpath} not grub-mkrelpath.

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-11-08 12:06:27 +01:00
parent 9f421dd1f0
commit 78e08dc3cb
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2011-11-08 Vladimir Serbinenko <phcoder@gmail.com>
* util/grub.d/10_kfreebsd.in: Use ${grub_mkrelpath} not grub-mkrelpath.
2011-11-08 Vladimir Serbinenko <phcoder@gmail.com> 2011-11-08 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/fs/zfs/zfs.c (zap_iterate): Remove set but not used * grub-core/fs/zfs/zfs.c (zap_iterate): Remove set but not used

View file

@ -160,7 +160,7 @@ while [ "x$list" != "x" ] ; do
# zpool name # zpool name
kfreebsd_device=$(grub-probe -t fs_label --device ${GRUB_DEVICE}) kfreebsd_device=$(grub-probe -t fs_label --device ${GRUB_DEVICE})
# filesystem name (empty string for the main filesystem) # filesystem name (empty string for the main filesystem)
kfreebsd_device="${kfreebsd_device}$(grub-mkrelpath / | sed -e "s,/*@$,,")" kfreebsd_device="${kfreebsd_device}$(${grub_mkrelpath} / | sed -e "s,/*@$,,")"
;; ;;
*) *)
kfreebsd_device=${kfreebsd_fs}id/${GRUB_DEVICE_UUID} kfreebsd_device=${kfreebsd_fs}id/${GRUB_DEVICE_UUID}