Bootloader installation and configuration |
modules/BootGRUB2EFI.ycp |
| Module containing specific functions for GRUB2EFI configuration and installation | |
|
|
|
This module has an unstable interface. |
Imports
Includes
Global Functions |
global
StandardGlobals ()
->
map<string,string>
Propose global options of bootloader
global
Read (boolean reread, boolean avoid_reading_device_map)
->
boolean
Read settings from disk
- Parameters:
-
reread boolean true to force reread settings from system avoid_reading_device_map do not read new device map from file, use internal data
- Return value:
-
true on success
global
Update ()
->
void
Update read settings to new version of configuration files
global
Write ()
->
boolean
Write bootloader settings to disk
- Return value:
-
true on success
global
Reset (boolean init)
->
void
Reset bootloader settings
- Parameters:
-
init boolean true to repropose also device map
global
Propose ()
->
void
Propose bootloader settings
global
Summary ()
->
list<string>
Display bootloader summary
- Return value:
-
a list of summary lines
global
GetFunctions ()
->
map<string, any>
Return map of provided functions
- Return value:
-
a map of functions (eg. $["write":BootGRUB2EFI::Write])
global
Initializer ()
->
void
Initializer of GRUB2EFI bootloader
global
BootGRUB2EFI ()
->
void
Constructor