[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
grub-mkrescue: Option --core-compress is in help text but not recognized
From: |
Thomas Schmitt |
Subject: |
grub-mkrescue: Option --core-compress is in help text but not recognized |
Date: |
Tue, 04 Sep 2018 22:22:23 +0200 |
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
- grub-mkrescue: Option --core-compress is in help text but not recognized,
Thomas Schmitt <=