]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2009-04-13 Felix Zielcke <fzielcke@z-51.de>
authorfzielcke <fzielcke@localhost>
Mon, 13 Apr 2009 11:45:20 +0000 (11:45 +0000)
committerfzielcke <fzielcke@localhost>
Mon, 13 Apr 2009 11:45:20 +0000 (11:45 +0000)
* util/i386/pc/grub-install.in (install_drive): Remove the BSD
partition number.
(grub_drive): Likewise.

ChangeLog
util/i386/pc/grub-install.in

index 916a8c2c5fb91e8e9fa05bc83527eb10e975bd11..40b18b27579bb4f6a65ccbfd33505bb39f72e113 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
 2009-04-13  David S. Miller  <davem@davemloft.net>
 
        * kern/sparc64/ieee1275/ieee1275.c: New file.
index ff1ed1e755f9e72bca1d4b869150623ad9220713..8a7a4daef8f3fd5af962d8c74398ca7df821f527 100644 (file)
@@ -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}`"