From 3a129dba5966b2f07cebcf22edede7dd69b11533 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Sun, 17 Nov 2013 02:01:21 +0100 Subject: [PATCH] * util/grub-install-common.c (grub_install_parse): Recognize --compress=none like shell script did. --- ChangeLog | 5 +++++ util/grub-install-common.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 72b8bf873..1fc953885 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-11-17 Vladimir Serbinenko + + * util/grub-install-common.c (grub_install_parse): Recognize + --compress=none like shell script did. + 2013-11-17 Vladimir Serbinenko * include/grub/misc.h: Replace check for __sparc64__ with one for diff --git a/util/grub-install-common.c b/util/grub-install-common.c index c60d2df4f..d29da380d 100644 --- a/util/grub-install-common.c +++ b/util/grub-install-common.c @@ -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;