]> git.ipfire.org Git - thirdparty/grub.git/commit
bli: Add explicit dependency on the part_gpt module
authorOliver Steffen <osteffen@redhat.com>
Thu, 16 Nov 2023 15:37:39 +0000 (16:37 +0100)
committerDaniel Kiper <daniel.kiper@oracle.com>
Tue, 5 Dec 2023 14:06:58 +0000 (15:06 +0100)
commit57059ccb62f91548dae8550dcf8d5cc45fcee9c5
treeed196b76cc56ab0bf7677bc4820961d84b91776f
parent154dcb1aea9f8fc42b2bce98bebed004d7783a7d
bli: Add explicit dependency on the part_gpt module

The bli module has a "hidden" dependency on the part_gpt module, which
is not picked up automatically by the build system. One purpose of the
bli module is to communicate the GPT UUID of the partition GRUB was
launched from to Linux user-space (systemd-gpt-auto-generator).
Without the part_gpt module, bli is not able to obtain the UUID. Since
bli does its work in the module initialization function, the order in
which the modules are loaded is also important: part_gpt needs to be
loaded before the bli module.

To solve this, track this dependency explicitly.

Note that the Boot Loader Interface specification, which bli aims to
implement, requires GPT formatted drives. The bli module ignores all
other partition formats.

Signed-off-by: Oliver Steffen <osteffen@redhat.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/extra_deps.lst