Skip to content

Bli: fix hidden module dependency

Oliver Steffen grub-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 8 repliesIn review
  2. v23 patches 5 repliesSuperseded
  3. v12 patches 4 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Allow explicit module dependencies.gitignore grub-core/Makefile.am grub-core/extra_deps.lst +1 more+7 -27 replies
2/3bli: Add explicit dependency on the part_gpt modulegrub-core/extra_deps.lst+1 -00 replies
3/3bli: Improve documentationdocs/grub.texi+13 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/3] Bli: fix hidden module dependency

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 v2 [2]:
- add exception for extra_deps.lst to gitignore
- fix the spelling of GRUB

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
[2] https://mail.gnu.org/archive/html/grub-devel/2023-11/msg00096.html

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

 .gitignore               |  1 +
 docs/grub.texi           | 17 +++++++++++++----
 grub-core/Makefile.am    |  4 ++--
 grub-core/extra_deps.lst |  1 +
 grub-core/genmoddep.awk  |  4 ++++
 5 files changed, 21 insertions(+), 6 deletions(-)
 create mode 100644 grub-core/extra_deps.lst
Signature · 7 lines
2.41.0


_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel