YaST2 Developers Documentation: Bootloader installation and configuration

Bootloader installation and configuration

modules/BootPOWERLILO.ycp
Module containing specific functions for LILO configuration and installation

Imports

  • Arch
  • BootCommon
  • Kernel
  • Mode
  • Pkg
  • Storage

Includes

  • bootloader/ppc/dialogs.ycp
  • bootloader/ppc/widgets2.ycp
  • bootloader/routines/popups.ycp

Global Functions

global CreateSections () -> void

Propose sections to bootloader menu modifies internal sreuctures

global CreateGlobals () -> void

Propose global options of bootloader modifies internal structures

global Propose () -> void

Propose bootloader settings

global Read (boolean reread) -> boolean

Read settings from disk

Parameters:
reread
Return value:
true on success
global Save (boolean clean, boolean init, boolean flush) -> boolean

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
global Update () -> void

Update read settings to new version of configuration files

global Write () -> boolean

Write bootloader settings to disk

Return value:
true on success
global GetFunctions () -> map<string, any>

Return map of provided functions

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

Initializer of PowerLILO bootloader

global BootPOWERLILO () -> void

Constructor