* util/grub-install-common.c (grub_install_parse): Recognize

--compress=none like shell script did.
This commit is contained in:
Vladimir Serbinenko 2013-11-17 02:01:21 +01:00
parent 8df6eff6da
commit 3a129dba59
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2013-11-17 Vladimir Serbinenko <phcoder@gmail.com>
* util/grub-install-common.c (grub_install_parse): Recognize
--compress=none like shell script did.
2013-11-17 Vladimir Serbinenko <phcoder@gmail.com>
* include/grub/misc.h: Replace check for __sparc64__ with one for

View File

@ -329,7 +329,8 @@ grub_install_parse (int key, char *arg)
handle_install_list (&install_fonts, arg, 0);
return 1;
case GRUB_INSTALL_OPTIONS_INSTALL_COMPRESS:
if (strcmp (arg, "no") == 0)
if (strcmp (arg, "no") == 0
|| strcmp (arg, "none") == 0)
{
compress_func = NULL;
return 1;