mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-23 23:59:22 +00:00
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:
1 parent
0c8b61d8e4
commit
04ddcc6a88
2 files changed
+6
-1
No files matched your search
@@ -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}" ;;
|
||||||
|
|||||||
Reference in new issue
Block a user