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-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to