Bootloader installation and configuration |
include/bootloader/routines/switcher.ycp |
Functions for choosing proper bootloader-specific functions | |
|
|
This module has an unstable interface. |
Imports
Global Functions |
global
getFunctions (string bootloader)
->
map
Get map of main functions for bootloader
- Parameters:
-
bootloader string bootloader name
- Return value:
-
of function
global
blExport ()
->
map
Export bootloader-specific settings
- Return value:
-
of settings
global
blImport (map settings)
->
boolean
Import settings to bootloader
- Parameters:
-
settings map of settingss
- Return value:
-
true on success
global
blRead (boolean reread)
->
boolean
Read bootloader-specific settings
- Parameters:
-
reread boolean true to force rereading the settings from the disk
- Return value:
-
true on success
global
blReset (boolean init)
->
void
Reset bootloader-specific settings
- Parameters:
-
init boolean true if basic initialization of system-dependent settings should be done
global
blPropose ()
->
void
Propose bootloader settings
global
blSave (boolean clean, boolean init, boolean flush)
->
boolean
Save bootloader cfg. files to the cache of the pluglib
- Parameters:
-
clean boolean true to perform checks on the settings init boolean true to reinitialize the library flush boolean true to flush the settings to the disk
- Return value:
-
true on success
global
blSummary ()
->
list<string>
Get cfg. summary
- Return value:
-
a list summary items
global
blUpdate ()
->
void
Update bootloader-specific settings
global
blWrite ()
->
boolean
Do the bootloader installation
- Return value:
-
true on success
global
blWidgetMaps ()
->
map<string,map<string,any> >
Get description maps of loader-specific widgets
- Return value:
-
a map containing description of all loader-specific widgets
global
blMainSequence ()
->
symbol
Get the main sequence for the specified bootloader
- Return value:
-
the result of the sequence, or `generic to run generic sequence instead
Info:
Get the loader-specific dialogs
- Return value:
-
a map of loader-specific dialogs