diff --git a/ChangeLog b/ChangeLog index 8d650572a..d7b982294 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2013-12-07 Andrey Borzenkov + + 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 * util/grub-install.c (push_partmap_module): Add helper to convert diff --git a/util/grub-install.c b/util/grub-install.c index 4cc557eea..7596ad91e 100644 --- a/util/grub-install.c +++ b/util/grub-install.c @@ -1104,7 +1104,6 @@ main (int argc, char *argv[]) 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);