Bootloader installation and configuration
|
modules/BootELILO.ycp
|
Module containing specific functions for ELILO configuration
and installation
|
|
|
Imports
- BootCommon
- Kernel
- Mode
- Product
- Storage
Includes
- bootloader/elilo/misc.ycp
- bootloader/elilo/widgets.ycp
- bootloader/routines/routines.ycp
Global Variables
Global Functions
|
|
|
global old_efi_entry -> string
|
|
Name of EFI entry when read settings
global remove_old_efi -> boolean
|
|
Should be original EFI entry removed?
global elilo_conf_filename -> string
|
|
elilo.conf path
global create_efi_entry -> boolean
|
|
True if EFI entry should be recreated
global GetFiles () -> map<string,string>
|
|
Create strings representing cfg. files for by-hand editation
- Return value:
global SetFiles (map<string,string> files) -> void
|
|
Store strings representing cfg. files to internal structures
- Parameters:
files |
map filename -> contents |
global createLinuxSection (string title) -> list<map>
|
|
Create linux section
- Parameters:
title |
strign section title (linux, failsafe, memtest) |
- Return value:
|
section description structure |
global createSections () -> void
|
|
Propose sections to bootloader menu
modifies internal sreuctures
global fixSections () -> void
|
|
Fix sections of bootloader menu during proposal regeneration
modifies internal sreuctures
global createGlobals () -> void
|
|
Propose global options of bootloader
modifies internal structures
global updateSections (boolean replace) -> void
|
|
Update sections of bootloader menu
modifies internal sreuctures
- Parameters:
replace |
boolean true if old sectinos shall be replaced |
global updateGlobals () -> void
|
|
Update global options of bootloader
modifies internal sreuctures
Export bootloader settings to a map
- Return value:
global Import (map<string, any> settings) -> boolean
|
|
Import settings from a map
- Parameters:
settings |
map of bootloader settings |
global Propose () -> void
|
|
Propose bootloader settings
global Read () -> boolean
|
|
Read settings from disk
- Return value:
Reset bootloader settings
global Save () -> boolean
|
|
Save all bootloader configuration files
- Return value:
global Summary () -> list<string>
|
|
Display bootloader summary
- Return value:
Update read settings to new version of configuration files
global Write () -> boolean
|
|
Write bootloader settings to disk
- Return value:
global GetOptions () -> map
|
|
Get map of bootloader options
- Return value:
global GetFunctions () -> map
|
|
Return map of provided functions
- Return value:
|
map of functions (eg. $["write":``(BootLILO::Write ())]) |
global Initializer () -> void
|
|
Initializer of LILO bootloader
global BootELILO () -> void
|
|
Constructor
|