Module containing specific functions for GRUB configuration and installation
Jiri Srain <jsrain@suse.cz>
Joachim Plack <jplack@suse.de>
Olaf Dabrunz <od@suse.de>
Philipp Thomas <pth@suse.de>
List of Global Functions
BootGRUB - Constructor
CheckAdditionalKernels - Check for additional kernels which could go to the proposed settings
CreateSections - Propose sections to bootloader menu modifies internal structures
FlagOnetimeBoot - Boot passed section once on next reboot.
GetFunctions - Return map of provided functions
Initializer - Initializer of GRUB bootloader
Propose - Propose bootloader settings
Read - Read settings from disk
Reset - Reset bootloader settings
Save - Save all bootloader configuration files to the cache of the PlugLib PlugLib must be initialized properly !!!
StandardGlobals - Propose global options of bootloader
Summary - Display bootloader summary
Update - Update read settings to new version of configuration files
Write - Write bootloader settings to disk
List of Global Variables
disks_order - Disks order for ordering widget purproses
insert_saved_mbr - Insert saved MBR to bootloader menu?
merge_level - Shall proposal merge menus?
Check for additional kernels which could go to the proposed settings
Return value
list<map<string,string> > - a list of kernels to propose
Propose sections to bootloader menu modifies internal structures
Return value
void
Boot passed section once on next reboot.
Function parameters
string section
Return value
boolean - true on success
Return map of provided functions
Return value
map<string, any> - a map of functions (eg. $["write"::Write])
Read settings from disk
Function parameters
boolean reread
boolean avoid_reading_device_map
Return value
boolean - true on success
Save all bootloader configuration files to the cache of the PlugLib PlugLib must be initialized properly !!!
Function parameters
boolean clean
boolean init
boolean flush
Return value
boolean - true if success