YaST2 Developers Documentation: Bootloader installation and configuration

Bootloader installation and configuration

modules/BootELILO.ycp
Module containing specific functions for ELILO configuration and installation

Imports

  • BootArch
  • BootCommon
  • Kernel
  • Mode
  • Product
  • Product
  • Stage
  • Storage

Includes

  • bootloader/elilo/misc.ycp
  • bootloader/elilo/widgets.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 efi_layout_changed -> boolean

True if the EFI layout was changed

global efi_entry_name -> string

The name of the entry in the EFI menu

global CreateSections () -> void

Propose sections to bootloader menu modifies internal sreuctures

global CreateGlobals () -> void

Propose global options of bootloader modifies internal structures

global UpdateGlobals () -> void

Update global options of bootloader modifies internal sreuctures

global Export () -> map

Export bootloader settings to a map

Return value:
bootloader settings
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 reread) -> boolean

Read settings from disk

Parameters:
reread
Return value:
true on success
global Reset (boolean init) -> void

Reset bootloader settings

Parameters:
init
global Save (boolean clean, boolean init, boolean flush) -> boolean

Save all bootloader configuration files

Parameters:
clean
init
flush
Return value:
true if success
global Summary () -> list<string>

Display bootloader summary

Return value:
a list of summary lines
global Update () -> void

Update read settings to new version of configuration files

Info:

Install the bootloader, display a popup with log if something goes wrong

Parameters:
command string command to install the bootloader
logfile string filename of file used to write bootloader log
Return value:
true on success
global Write () -> boolean

Write bootloader settings to disk

Return value:
true on success
global GetFunctions () -> map

Return map of provided functions

Return value:
map of functions (eg. $["write":``(BootLILO::Write ())])
global Initializer () -> void

Initializer of ELILO bootloader

global BootELILO () -> void

Constructor