+2013-12-07 Andrey Borzenkov <arvidjaar@gmail.com>
+
+ Revert commit 69ca97c820, it caused failures when using OS device name
+ in grub-install. Instead just strip off parenthesis in grub-install
+ if (hdX) was passed.
+
2013-12-07 Andrey Borzenkov <arvidjaar@gmail.com>
* util/grub-install.c (push_partmap_module): Add helper to convert
if (install_device[0] == '('
&& install_device[grub_strlen (install_device) - 1] == ')')
{
-
size_t len = grub_strlen (install_device) - 2;
install_drive = xmalloc (len + 1);
memcpy (install_drive, install_device + 1, len);