All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Bli: fix hidden module dependency
@ 2023-11-15 20:07 Oliver Steffen
  2023-11-15 20:08 ` [PATCH v2 1/3] Allow explicit module dependencies Oliver Steffen
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Oliver Steffen @ 2023-11-15 20:07 UTC (permalink / raw)
  To: grub-devel
  Cc: Daniel Axtens, Daniel Kiper, Vladimir Serbinenko,
	Tobias Powalowski, Oliver Steffen

The bli module has a hidden/implicit dependency on the part_gpt module.
The part_gpt module has to be loaded before the bli module.
This dependency is not picked up automatically by the build system
because the bli module does not use any function of part_gpt. It just
expects Grub to be able to parse GPT formatted disks.

This series introduces a mechanism that allows specifying module
dependencies explicitly in a new file called extra_deps.lst.

An explicit dependency is then added for the bli module on the part_gpt
module and the documentation is improved.

Changes since v1 [1]:
- rename explicit_dependencies.lst -> extra_deps.lst
- explain what bli does/why it needs part_gpt in the commit message
- and in the module documentation as well.

[1] https://mail.gnu.org/archive/html/grub-devel/2023-11/msg00077.html

Oliver Steffen (3):
  Allow explicit module dependencies
  bli: Add explicit dependency on the part_gpt module
  bli: Improve documentation

 docs/grub.texi           | 17 +++++++++++++----
 grub-core/Makefile.am    |  4 ++--
 grub-core/extra_deps.lst |  1 +
 grub-core/genmoddep.awk  |  4 ++++
 4 files changed, 20 insertions(+), 6 deletions(-)
 create mode 100644 grub-core/extra_deps.lst

-- 
2.41.0


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-11-30 13:36 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-15 20:07 [PATCH v2 0/3] Bli: fix hidden module dependency Oliver Steffen
2023-11-15 20:08 ` [PATCH v2 1/3] Allow explicit module dependencies Oliver Steffen
2023-11-15 20:08 ` [PATCH v2 2/3] bli: Add explicit dependency on the part_gpt module Oliver Steffen
2023-11-15 20:08 ` [PATCH v2 3/3] bli: Improve documentation Oliver Steffen
2023-11-16 13:50 ` [PATCH v2 0/3] Bli: fix hidden module dependency Daniel Kiper
2023-11-21 15:00   ` Daniel Kiper
2023-11-29 19:43     ` Daniel Kiper
2023-11-29 20:54       ` Tobias Powalowski via Grub-devel
2023-11-30 13:36         ` Daniel Kiper

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.