Bootloader installation and configuration
|
include/bootloader/routines/switcher.ycp
|
Functions for choosing proper bootloader-specific functions
|
|
|
Imports
- BootABOOT
- BootCommon
- BootELILO
- BootGRUB
- BootLILO
- BootMILO
- BootPPC
- BootS390
Global Functions
|
|
|
global getFunctions (string bootloader) -> map
|
|
Get map of main functions for bootloader
- Parameters:
bootloader |
string bootloader name |
- Return value:
global blExport () -> map
|
|
Export bootloader-specific settings
- Return value:
global blImport (map settings) -> boolean
|
|
Import settings to bootloader
- Parameters:
settings |
map of settingss |
global blRead () -> boolean
|
|
Read bootloader-specific settings
- Return value:
global blReset () -> void
|
|
Reset bootloader-specific settings
global blPropose () -> void
|
|
Propose bootloader settings
global blSave () -> boolean
|
|
Save bootloader cfg. files
- Return value:
global blSummary () -> list<string>
|
|
Get cfg. summary
- Return value:
global blUpdate () -> void
|
|
Update bootloader-specific settings
global blWrite () -> boolean
|
|
Do the bootloader installation
- Return value:
global blGetSequence (map ws_data) -> map
|
|
Update bootloader module cfg. sequence
- Parameters:
ws_data |
map containing original sequence |
- Return value:
global blGetFiles () -> map<string,string>
|
|
Create map future cfg. files from internal variables
- Return value:
global blSetFiles (map<string,string> files) -> void
|
|
Store map of future cfg. files to internal variables
- Parameters:
files |
map filename -> contents |
|