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