[2094] 2009-04-13 Felix Zielcke <[email protected]>

Felix Zielcke <[email protected]>
Newsgroups gmane.comp.boot-loaders.grub.cvs
Message-ID <[email protected]>
Revision: 2094
          http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=2094
Author:   fzielcke
Date:     2009-04-13 11:45:20 +0000 (Mon, 13 Apr 2009)
Log Message:
-----------
2009-04-13  Felix Zielcke  <[email protected]>

	* util/i386/pc/grub-install.in (install_drive): Remove the BSD
	partition number.
	(grub_drive): Likewise.

Modified Paths:
--------------
    trunk/grub2/ChangeLog
    trunk/grub2/util/i386/pc/grub-install.in

Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog	2009-04-13 07:08:10 UTC (rev 2093)
+++ trunk/grub2/ChangeLog	2009-04-13 11:45:20 UTC (rev 2094)
@@ -1,3 +1,9 @@
+2009-04-13  Felix Zielcke  <[email protected]>
+
+	* util/i386/pc/grub-install.in (install_drive): Remove the BSD
+	partition number.
+	(grub_drive): Likewise.
+
 2009-04-13  David S. Miller  <[email protected]>
 
 	* kern/sparc64/ieee1275/ieee1275.c: New file.

Modified: trunk/grub2/util/i386/pc/grub-install.in
===================================================================
--- trunk/grub2/util/i386/pc/grub-install.in	2009-04-13 07:08:10 UTC (rev 2093)
+++ trunk/grub2/util/i386/pc/grub-install.in	2009-04-13 11:45:20 UTC (rev 2094)
@@ -262,8 +262,8 @@
     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}`"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.