2018-09-04 20:22:23 UTC
on occasion of
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
(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 :)