All of lore.kernel.org
 help / color / mirror / Atom feed
* grub-mkrescue --install-modules for multi-platform support
@ 2015-02-28 10:05 Andrei Borzenkov
  0 siblings, 0 replies; only message in thread
From: Andrei Borzenkov @ 2015-02-28 10:05 UTC (permalink / raw)
  To: grub-devel

It was pointed out that this option does not play well. Different
platforms may need different modules that do not exist for other
platforms; if we give it total list, it will error out because some
modules are missing.

bor@opensuse:~/build/grub> grub2-mkrescue  -o /tmp/foo.iso --install-modules="efi_gop" --locales= --themes= --fonts=
grub2-mkrescue: ошибка: не удалось открыть «/usr/lib/grub2/i386-pc/efi_gop.mod»: Нет такого файла или каталога.

May be extending it with something like

grub-mkrescue --install-modules=..." --platform=*-efi
--install-modules="..." --platform=i386-pc --install-modules="..."

This would allow also to make other options per-platform.

I understand that workaround is to manually put them where appropriate
but

- it does not interoperate with compression
- it does not resolve dependencies
- it makes tools unaware which modules are


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-02-28 10:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-28 10:05 grub-mkrescue --install-modules for multi-platform support Andrei Borzenkov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.