dl: Add support for persistent modules
commitee7808e2197cbf5e8515d90ecbd81c9d0dd6fc15
authorDaniel Kiper <daniel.kiper@oracle.com>
Tue, 2 Oct 2018 16:49:26 +0000 (2 18:49 +0200)
committerDaniel Kiper <daniel.kiper@oracle.com>
Fri, 9 Nov 2018 12:25:31 +0000 (9 13:25 +0100)
tree79afbb935e3ab5c12a7e5c017629b73d88c5f7f1
parent3d612924c36f349eb68665ec5fbc1ea98b2accf5
dl: Add support for persistent modules

This type of modules cannot be unloaded. This is useful if a given
functionality, e.g. UEFI secure boot shim signature verification, should
not be disabled if it was enabled at some point in time. Somebody may
say that we can use standalone GRUB2 here. That is true. However, the
code is not so big nor complicated hence it make sense to support
modularized configs too.

Signed-off-by: Daniel Kiper <daniel.kiper@oracle.com>
Reviewed-by: Ross Philipson <ross.philipson@oracle.com>
grub-core/commands/minicmd.c
include/grub/dl.h