2010-08-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
* util/grub.d/30_os-prober.in: Fix conversion from grub-probe --target=drive output to Mach device name.
This commit is contained in:
parent
0c8b61d8e4
commit
04ddcc6a88
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2010-08-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
|
||||||
|
|
||||||
|
* util/grub.d/30_os-prober.in: Fix conversion from grub-probe
|
||||||
|
--target=drive output to Mach device name.
|
||||||
|
|
||||||
2010-08-23 BVK Chaitanya <bvk.groups@gmail.com>
|
2010-08-23 BVK Chaitanya <bvk.groups@gmail.com>
|
||||||
|
|
||||||
New Automake based build system for GRUB.
|
New Automake based build system for GRUB.
|
||||||
|
|
|
@ -179,7 +179,7 @@ EOF
|
||||||
save_default_entry | sed -e "s/^/\t/"
|
save_default_entry | sed -e "s/^/\t/"
|
||||||
prepare_grub_to_access_device ${DEVICE} | sed -e "s/^/\t/"
|
prepare_grub_to_access_device ${DEVICE} | sed -e "s/^/\t/"
|
||||||
grub_device="`${grub_probe} --device ${DEVICE} --target=drive`"
|
grub_device="`${grub_probe} --device ${DEVICE} --target=drive`"
|
||||||
mach_device="`echo "${grub_device}" | tr -d '()' | tr , s`"
|
mach_device="`echo "${grub_device}" | sed -e 's/(\(hd.*\),msdos\(.*\))/\1s\2/'`"
|
||||||
grub_fs="`${grub_probe} --device ${DEVICE} --target=fs`"
|
grub_fs="`${grub_probe} --device ${DEVICE} --target=fs`"
|
||||||
case "${grub_fs}" in
|
case "${grub_fs}" in
|
||||||
*fs) hurd_fs="${grub_fs}" ;;
|
*fs) hurd_fs="${grub_fs}" ;;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue