mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
2009-04-13 Felix Zielcke <fzielcke@z-51.de>
* util/i386/pc/grub-install.in (install_drive): Remove the BSD partition number. (grub_drive): Likewise.
This commit is contained in:
1 parent
d8e1836ca1
commit
c301203905
2 files changed
+8
-2
No files matched your search
@@ -262,8 +262,8 @@ if [ "x${devabstraction_module}" = "x" ] ; then
|
||||
grub_drive="`$grub_probe --target=drive --device ${grub_device}`"
|
||||
|
||||
# Strip partition number
|
||||
install_drive="`echo ${install_drive} | sed -e s/,[0-9]*//g`"
|
||||
grub_drive="`echo ${grub_drive} | sed -e s/,[0-9]*//g`"
|
||||
install_drive="`echo ${install_drive} | sed -e s/,[0-9]*[a-z]*//g`"
|
||||
grub_drive="`echo ${grub_drive} | sed -e s/,[0-9]*[a-z]*//g`"
|
||||
if [ "${target_cpu}-${platform}" != "i386-pc" ] ; then
|
||||
# generic method (used on coreboot)
|
||||
uuid="`$grub_probe --target=fs_uuid --device ${grub_device}`"
|
||||
|
||||
Reference in new issue
Block a user