Bootloader installation and configuration |
modules/BootGRUB.ycp |
Module containing specific functions for GRUB configuration and installation | |
|
|
This module has an unstable interface. |
Imports
Includes
Global VariablesGlobal Functions |
Shall proposal merge menus?
The variable indicate if client bootloader_preupdate successful update device map If success true else false
Disks order for ordering widget purproses
Check for additional kernels which could go to the proposed settings
- Return value:
-
a list of kernels to propose
Propose sections to bootloader menu modifies internal structures
Propose global options of bootloader
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
Reset bootloader settings
- Parameters:
-
init boolean true to repropose also device map
Propose bootloader settings
Save all bootloader configuration files to the cache of the PlugLib PlugLib must be initialized properly !!!
- Parameters:
-
clean boolean true if settings should be cleaned up (checking their correctness, supposing all files are on the disk init boolean true to init the library flush boolean true to flush settings to the disk
- Return value:
-
true if success
Display bootloader summary
- Return value:
-
a list of summary lines
Update read settings to new version of configuration files
Write bootloader settings to disk
- Return value:
-
true on success
Boot passed section once on next reboot.
- Parameters:
-
section string section to boot
- Return value:
-
true on success
Return map of provided functions
- Return value:
-
a map of functions (eg. $["write"::Write])
Initializer of GRUB bootloader
Constructor