]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* util/grub-install-common.c (grub_install_parse): Recognize
authorVladimir Serbinenko <phcoder@gmail.com>
Sun, 17 Nov 2013 01:01:21 +0000 (02:01 +0100)
committerVladimir Serbinenko <phcoder@gmail.com>
Sun, 17 Nov 2013 01:01:21 +0000 (02:01 +0100)
--compress=none like shell script did.

ChangeLog
util/grub-install-common.c

index 72b8bf873de7bcd31aa28af9137c2f0b562b4df0..1fc953885f88934760e64c68ff507125180bd6ee 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index c60d2df4fe710754e0eeca1a9d0b2accc1e3fe91..d29da380d8e7dbcc36a3e1d37ddc3dfead0b129d 100644 (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;