commit-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[2094] 2009-04-13 Felix Zielcke <address@hidden>


From: Felix Zielcke
Subject: [2094] 2009-04-13 Felix Zielcke <address@hidden>
Date: Mon, 13 Apr 2009 11:45:20 +0000

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  <address@hidden>

        * 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  <address@hidden>
+
+       * util/i386/pc/grub-install.in (install_drive): Remove the BSD
+       partition number.
+       (grub_drive): Likewise.
+
 2009-04-13  David S. Miller  <address@hidden>
 
        * 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}`"





reply via email to

[Prev in Thread] Current Thread [Next in Thread]