Received: from list by lists.gnu.org with archive (Exim 4.71) id 1fxHq1-0006YS-Ou for mharc-grub-devel@gnu.org; Tue, 04 Sep 2018 16:22:13 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49725) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fxHpz-0006WH-JY for grub-devel@gnu.org; Tue, 04 Sep 2018 16:22:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fxHpw-0004Kv-8M for grub-devel@gnu.org; Tue, 04 Sep 2018 16:22:11 -0400 Received: from mout.gmx.net ([212.227.15.15]:45041) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fxHpv-0004Jh-SP for grub-devel@gnu.org; Tue, 04 Sep 2018 16:22:08 -0400 Received: from scdbackup.webframe.org ([87.167.203.125]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MSv6D-1gMlAJ1HLJ-00Rstd for ; Tue, 04 Sep 2018 22:22:06 +0200 Date: Tue, 04 Sep 2018 22:22:23 +0200 From: "Thomas Schmitt" To: grub-devel@gnu.org Subject: grub-mkrescue: Option --core-compress is in help text but not recognized Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <14565791396931514793@scdbackup.webframe.org> X-Provags-ID: V03:K1:GZduJ+xrsLz4R4OQYlRgGz8SqE2wapF2JP2mCVbPa9P8F37rDA0 rEeNuQI2Ad0YvRNfvFbMRzaeAJtuiwugY9lm2vvioLkhGplIX/MfugD8YDq23pipxqUyMom VWF4z+IukOG2xm1206v+kf8awW/7LhHcwZotTbUQEoGgJNfG5P9EnccO5GpCvjbUlIC6pkh Y6TCec2GU4u79xP5RWcQA== X-UI-Out-Filterresults: notjunk:1;V01:K0:Et+KBFAV+0k=:2Wx90Oa9uPIxfbv8Fo15DO 4wrwnPuj+QcUYPca2Y5TNOLVesWXiUEr93vgT8iPJXiBOyE2JO2vzw49XOOjCJ/cNP92HBU87 JohF03Tz7AdA4qC/jZ8CZRZGZE/NMZyG1UBGqznnl2/sbJu1XjsftzKQDG2+HD3jFo1I3+9Fg KplL0WcSxrDevf5iS/b9qGv+PYndQhbW+/ylJCjcujyPGxF6f5Fo697v5/AMUgM8BM2MwV5Sz gXHLRbcqhcz5KEcQW9dKGU9MGwDn2Gt0WWdtCPtOVDjvW18MGZDHI1SAf/TiAQ2kb8Em6J1nv XjY6wpOC6jETu+Few4KOO+8XwEBNjS8KjLaUOcdPlATKGFAsMI/W/2Yw0EhIBZqiNqjP0fr9Z llhbGzkQLPWGsyU/QVFtVRp2npIZzWVjWO5ZWTqkJanI5bf6MNgfDmo+6JtsQVL19RQIMte7g /Uj6v3Q/UlSysXOrhgtJRP0PG48oCBhhd9p8aFCBCeKq1dgLE69QDWO8g5s/rURPeBXNsnjb+ W385J/lIHUejCDv+FYOLOFcSbXdKo6SVdNDDWBgEK9j/p+EGsT92e/Bo+lxPBglky3B11mysL 0J96JW1L/C9JtnXc3hAKMyNohy9Puy9OBHdOsVECM2Sz2VM3p8EiH3X/poNqgn0YRy6/tWcdo BaCi8631m/DtlkMaOW1t3pHVu5t2ZoLjwKkomIpvU1yrW2161kDerwmT9CRBBq6UcPd8Db12m pjT0KrXdAT5CBLKNHV4fcymkxDfpSyoOU1AQhxpGAXBgMiw33Npi+rfk5Ww6e46JrcLH47pAe rg4w0Eo X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.15.15 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Sep 2018 20:22:12 -0000 Hi, on occasion of https://unix.stackexchange.com/questions/466495 i wonder whether it is a mistake that grub-mkrescue option --core-compress= is declared in include/grub/util/install.h, or whether it is a mistake that there is no code to see anywhere which would recognize the associated key GRUB_INSTALL_OPTIONS_INSTALL_CORE_COMPRESS. (I'd expect it in util/grub-install-common.c where other options from install.h have their key interpreted.) I have no idea what the problem poster hopes to achieve by his options. It's just that --core-compress is listed in the help text and leads to a self-accusation of grub-mkrescue if it is used: $ grub-mkrescue -o output.iso minimal_dir --core-compress=xz grub-mkrescue: --core-compress: (PROGRAM ERROR) Option should have been recognized!? Try 'grub-mkrescue --help' or 'grub-mkrescue --usage' for more information. A run of grub-mkrescue --usage, too, mentions the option. Have a nice day :) Thomas